Micron Document
`:top
A `!computer program`! is a `F33f`_`[sequence`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Sequence]`_`f or set`:cite-ref-1[`F5bf`_`[a`#cite-note-1]`_`f] of instructions in a `F33f`_`[programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_language]`_`f for a `F33f`_`[computer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer]`_`f to `F33f`_`[execute`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Execution_(computing)]`_`f. It is one component of `F33f`_`[software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software]`_`f, which also includes `F33f`_`[documentation`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_documentation]`_`f and other intangible components.`:cite-ref-iso-2020-2-0[`F5bf`_`[1`#cite-note-iso-2020-2]`_`f]

A `*computer program`* in its `F33f`_`[human-readable`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Human-readable]`_`f form is called `F33f`_`[source code`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Source_code]`_`f. Source code needs another computer program to execute because computers can only execute their native `F33f`_`[machine instructions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Machine_instructions]`_`f. Therefore, source code may be `F33f`_`[translated`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Translator_(computing)]`_`f to machine instructions using a `F33f`_`[compiler`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Compiler]`_`f written for the language. (`F33f`_`[Assembly language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembly_language]`_`f programs are translated using an `F33f`_`[assembler`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembler_(computing)]`_`f.) The resulting file is called an `F33f`_`[executable`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Executable]`_`f. Alternatively, source code may execute within an `F33f`_`[interpreter`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Interpreter_(computing)]`_`f written for the language.`:cite-ref-cpl-3rd-ch1-7-quoted-3-0[`F5bf`_`[2`#cite-note-cpl-3rd-ch1-7-quoted-3]`_`f]

If the executable is requested for execution, then the `F33f`_`[operating system`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operating_system]`_`f `F33f`_`[loads`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Loader_(computing)]`_`f it into `F33f`_`[memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Random-access_memory]`_`f and starts a `F33f`_`[process`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Process_(computing)]`_`f.`:cite-ref-osc-ch4-p98-4-0[`F5bf`_`[3`#cite-note-osc-ch4-p98-4]`_`f] The `F33f`_`[central processing unit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Central_processing_unit]`_`f will soon `F33f`_`[switch`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Context_switch]`_`f to this process so it can `F33f`_`[fetch, decode, and then execute`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Instruction_cycle]`_`f each machine instruction.`:cite-ref-sco-ch2-p32-5-0[`F5bf`_`[4`#cite-note-sco-ch2-p32-5]`_`f]

If the source code is requested for execution, then the operating system loads the corresponding interpreter into memory and starts a process. The interpreter then loads the source code into memory to translate and execute each `F33f`_`[statement`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Statement_(computer_science)]`_`f. Running the source code is slower than running an executable.`:cite-ref-cpl-3rd-ch1-7-6-0[`F5bf`_`[5`#cite-note-cpl-3rd-ch1-7-6]`_`f]`:cite-ref-7[`F5bf`_`[b`#cite-note-7]`_`f] Moreover, the interpreter must be installed on the computer.

>>Contents

• `F0af`_`[Example computer program`#example-computer-program]`_`f
• `F0af`_`[History`#history]`_`f
• `F0af`_`[Analytical Engine`#analytical-engine]`_`f
• `F0af`_`[Universal Turing machine`#universal-turing-machine]`_`f
• `F0af`_`[ENIAC`#eniac]`_`f
• `F0af`_`[Stored-program computers`#stored-program-computers]`_`f
• `F0af`_`[Very Large Scale Integration`#very-large-scale-integration]`_`f
• `F0af`_`[x86 series`#x86-series]`_`f
• `F0af`_`[Changing programming environment`#changing-programming-environment]`_`f
• `F0af`_`[Programming paradigms and languages`#programming-paradigms-and-languages]`_`f
• `F0af`_`[Generations of programming language`#generations-of-programming-language]`_`f
• `F0af`_`[Imperative languages`#imperative-languages]`_`f
• `F0af`_`[Declarative languages`#declarative-languages]`_`f
• `F0af`_`[Object-oriented programming`#object-oriented-programming]`_`f
• `F0af`_`[Syntax and semantics`#syntax-and-semantics]`_`f
• `F0af`_`[Software engineering and computer programming`#software-engineering-and-computer-programming]`_`f
• `F0af`_`[Performance objectives`#performance-objectives]`_`f
• `F0af`_`[Cost objectives`#cost-objectives]`_`f
• `F0af`_`[Waterfall model`#waterfall-model]`_`f
• `F0af`_`[Computer programmer`#computer-programmer]`_`f
• `F0af`_`[Program modules`#program-modules]`_`f
• `F0af`_`[Cohesion`#cohesion]`_`f
• `F0af`_`[Coupling`#coupling]`_`f
• `F0af`_`[Data flow analysis`#data-flow-analysis]`_`f
• `F0af`_`[Functional categories`#functional-categories]`_`f
• `F0af`_`[Application software`#application-software]`_`f
• `F0af`_`[Operating system`#operating-system]`_`f
• `F0af`_`[Utility program`#utility-program]`_`f
• `F0af`_`[Microcode program`#microcode-program]`_`f
• `F0af`_`[Notes`#notes]`_`f
• `F0af`_`[References`#references]`_`f

-─

>>Example computer program

The `F33f`_`["Hello, World!" program`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path="Hello,_World!"_program]`_`f is used to illustrate a language's basic syntax. The syntax of the language `F33f`_`[BASIC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Dartmouth_BASIC]`_`f (1964) was intentionally limited to make the language easy to learn.`:cite-ref-cpl-3rd-ch2-30-quote1-8-0[`F5bf`_`[6`#cite-note-cpl-3rd-ch2-30-quote1-8]`_`f] For example, `F33f`_`[variables`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Variable_(computer_science)]`_`f are not `F33f`_`[declared`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declaration_(computer_programming)]`_`f before being used.`:cite-ref-cpl-3rd-ch2-31-9-0[`F5bf`_`[7`#cite-note-cpl-3rd-ch2-31-9]`_`f] Also, variables are automatically initialized to zero.`:cite-ref-cpl-3rd-ch2-31-9-1[`F5bf`_`[7`#cite-note-cpl-3rd-ch2-31-9]`_`f] Here is an example computer program, in Basic, to `F33f`_`[average`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Average]`_`f a list of numbers:`:cite-ref-cpl-3rd-ch2-30-10-0[`F5bf`_`[8`#cite-note-cpl-3rd-ch2-30-10]`_`f]

`B100`F9d910 INPUT "How many numbers to average?", A`f`b
`B100`F9d920 FOR I = 1 TO A`f`b
`B100`F9d930 INPUT "Enter number:", B`f`b
`B100`F9d940 LET C = C + B`f`b
`B100`F9d950 NEXT I`f`b
`B100`F9d960 LET D = C/A`f`b
`B100`F9d970 PRINT "The average is", D`f`b
`B100`F9d980 END`f`b

Once the mechanics of basic computer programming are learned, more sophisticated and powerful languages are available to build large computer systems.`:cite-ref-cpl-3rd-ch2-30-quote2-11-0[`F5bf`_`[9`#cite-note-cpl-3rd-ch2-30-quote2-11]`_`f]

>>History

Improvements in `F33f`_`[software development`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_development]`_`f are the result of improvements in `F33f`_`[computer hardware`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_hardware]`_`f. At each stage in hardware's history, the task of `F33f`_`[computer programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_programming]`_`f changed dramatically.

>>>Analytical Engine

In 1837, `F33f`_`[Jacquard's loom`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Jacquard_machine]`_`f inspired `F33f`_`[Charles Babbage`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Charles_Babbage]`_`f to attempt to build the `F33f`_`[Analytical Engine`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Analytical_Engine]`_`f.`:cite-ref-eniac-ch1-p16-12-0[`F5bf`_`[10`#cite-note-eniac-ch1-p16-12]`_`f] The names of the components of the calculating device were borrowed from the textile industry. In the textile industry, yarn was brought from the store to be milled. The device had a `*store`* which consisted of memory to hold 1,000 numbers of 50 decimal digits each.`:cite-ref-sco-ch1-p14-13-0[`F5bf`_`[11`#cite-note-sco-ch1-p14-13]`_`f] Numbers from the `*store`* were transferred to the `*mill`* for processing. The engine was programmed using two sets of perforated cards. One set directed the operation and the other set inputted the variables.`:cite-ref-eniac-ch1-p16-12-1[`F5bf`_`[10`#cite-note-eniac-ch1-p16-12]`_`f]`:cite-ref-14[`F5bf`_`[12`#cite-note-14]`_`f] However, the thousands of cogged wheels and gears never fully worked together.`:cite-ref-sco-ch1-p15-15-0[`F5bf`_`[13`#cite-note-sco-ch1-p15-15]`_`f]

`F33f`_`[Ada Lovelace`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Ada_Lovelace]`_`f worked for Charles Babbage to create a description of the Analytical Engine (1843).`:cite-ref-16[`F5bf`_`[14`#cite-note-16]`_`f] The description contained Note G which completely detailed a method for calculating `F33f`_`[Bernoulli numbers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Bernoulli_number]`_`f using the Analytical Engine. This note is recognized by some historians as the world's first `*computer program`*.`:cite-ref-sco-ch1-p15-15-1[`F5bf`_`[13`#cite-note-sco-ch1-p15-15]`_`f]

>>>Universal Turing machine

In 1936, `F33f`_`[Alan Turing`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Alan_Turing]`_`f introduced the `F33f`_`[Universal Turing machine`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Universal_Turing_machine]`_`f, a theoretical device that can model every computation.`:cite-ref-discrete-ch10-p654-17-0[`F5bf`_`[15`#cite-note-discrete-ch10-p654-17]`_`f] It is a `F33f`_`[finite-state machine`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Finite-state_machine]`_`f that has an infinitely long read/write tape. The machine can move the tape back and forth, changing its contents as it performs an `F33f`_`[algorithm`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Algorithm]`_`f. The machine starts in the initial state, goes through a sequence of steps, and halts when it encounters the halt state.`:cite-ref-formal-languages-ch9-p234-18-0[`F5bf`_`[16`#cite-note-formal-languages-ch9-p234-18]`_`f] All present-day computers are `F33f`_`[Turing complete`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Turing_complete]`_`f.`:cite-ref-formal-languages-ch9-p243-19-0[`F5bf`_`[17`#cite-note-formal-languages-ch9-p243-19]`_`f]

>>>ENIAC

The `F33f`_`[Electronic Numerical Integrator And Computer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Electronic_Numerical_Integrator_And_Computer]`_`f (ENIAC) was built between July 1943 and Fall 1945. It was a Turing complete, general-purpose computer that used 17,468 `F33f`_`[vacuum tubes`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Vacuum_tube]`_`f to create the `F33f`_`[circuits`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Electronic_circuit]`_`f. At its core, it was a series of `F33f`_`[Pascalines`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Pascaline]`_`f wired together.`:cite-ref-eniac-ch5-p102-20-0[`F5bf`_`[18`#cite-note-eniac-ch5-p102-20]`_`f] Its 40 units weighed 30 tons, occupied 1,800 square feet (167 m2), and consumed $650 per hour (`F33f`_`[in 1940s currency`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Inflation]`_`f) in electricity when idle.`:cite-ref-eniac-ch5-p102-20-1[`F5bf`_`[18`#cite-note-eniac-ch5-p102-20]`_`f] It had 20 `F33f`_`[base-10`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Base-10]`_`f `F33f`_`[accumulators`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Accumulator_(computing)]`_`f. Programming the ENIAC took up to two months.`:cite-ref-eniac-ch5-p102-20-2[`F5bf`_`[18`#cite-note-eniac-ch5-p102-20]`_`f] Three function tables were on wheels and needed to be rolled to fixed function panels. Function tables were connected to function panels by plugging heavy black cables into `F33f`_`[plugboards`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Plugboard]`_`f. Each function table had 728 rotating knobs. Programming the ENIAC also involved setting some of the 3,000 switches. Debugging a program took a week.`:cite-ref-eniac-ch5-p94-21-0[`F5bf`_`[19`#cite-note-eniac-ch5-p94-21]`_`f] It ran from 1947 until 1955 at `F33f`_`[Aberdeen Proving Ground`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Aberdeen_Proving_Ground]`_`f, calculating hydrogen bomb parameters, predicting weather patterns, and producing firing tables to aim artillery guns.`:cite-ref-eniac-ch5-p107-22-0[`F5bf`_`[20`#cite-note-eniac-ch5-p107-22]`_`f]

>>>Stored-program computers

Instead of plugging in cords and turning switches, a `F33f`_`[stored-program computer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Stored-program_computer]`_`f loads its instructions into `F33f`_`[memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Random-access_memory]`_`f just like it loads its data into memory.`:cite-ref-eniac-ch6-p120-23-0[`F5bf`_`[21`#cite-note-eniac-ch6-p120-23]`_`f] As a result, the computer could be programmed quickly and perform calculations at very fast speeds.`:cite-ref-eniac-ch6-p118-24-0[`F5bf`_`[22`#cite-note-eniac-ch6-p118-24]`_`f] `F33f`_`[Presper Eckert`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Presper_Eckert]`_`f and `F33f`_`[John Mauchly`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=John_Mauchly]`_`f built the ENIAC. The two engineers introduced the `*stored-program concept`* in a three-page memo dated February 1944.`:cite-ref-eniac-ch6-p119-25-0[`F5bf`_`[23`#cite-note-eniac-ch6-p119-25]`_`f] Later, in September 1944, `F33f`_`[John von Neumann`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=John_von_Neumann]`_`f began working on the ENIAC project. On June 30, 1945, von Neumann published the `*`F33f`_`[First Draft of a Report on the EDVAC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=First_Draft_of_a_Report_on_the_EDVAC]`_`f`*, which equated the structures of the computer with the structures of the human brain.`:cite-ref-eniac-ch6-p118-24-1[`F5bf`_`[22`#cite-note-eniac-ch6-p118-24]`_`f] The design became known as the `F33f`_`[von Neumann architecture`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Von_Neumann_architecture]`_`f. The architecture was simultaneously deployed in the constructions of the `F33f`_`[EDVAC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=EDVAC]`_`f and `F33f`_`[EDSAC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=EDSAC]`_`f computers in 1949.`:cite-ref-eniac-ch6-p123-26-0[`F5bf`_`[24`#cite-note-eniac-ch6-p123-26]`_`f]`:cite-ref-27[`F5bf`_`[25`#cite-note-27]`_`f]

The `F33f`_`[IBM System/360`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM_System/360]`_`f (1964) was a family of computers, each having the same `F33f`_`[instruction set architecture`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Instruction_set_architecture]`_`f. The `F33f`_`[Model 20`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM_System/360_Model_20]`_`f was the smallest and least expensive. Customers could upgrade and retain the same `F33f`_`[application software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Application_software]`_`f.`:cite-ref-sco-ch1-p21-28-0[`F5bf`_`[26`#cite-note-sco-ch1-p21-28]`_`f] The `F33f`_`[Model 195`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM_System/360_Model_195]`_`f was the most premium. Each System/360 model featured `F33f`_`[multiprogramming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Multiprogramming]`_`f`:cite-ref-sco-ch1-p21-28-1[`F5bf`_`[26`#cite-note-sco-ch1-p21-28]`_`f]—having multiple `F33f`_`[processes`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Process_(computing)]`_`f in `F33f`_`[memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Random-access_memory]`_`f at once. When one process was waiting for `F33f`_`[input/output`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Input/output]`_`f, another could compute.

IBM planned for each model to be programmed using `F33f`_`[PL/1`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=PL/1]`_`f.`:cite-ref-cpl-3rd-ch2-27-29-0[`F5bf`_`[27`#cite-note-cpl-3rd-ch2-27-29]`_`f] A committee was formed that included `F33f`_`[COBOL`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=COBOL]`_`f, `F33f`_`[Fortran`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Fortran]`_`f and `F33f`_`[ALGOL`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ALGOL]`_`f programmers. The purpose was to develop a language that was comprehensive, easy to use, extendible, and would replace Cobol and Fortran.`:cite-ref-cpl-3rd-ch2-27-29-1[`F5bf`_`[27`#cite-note-cpl-3rd-ch2-27-29]`_`f] The result was a large and complex language that took a long time to `F33f`_`[compile`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Compile]`_`f.`:cite-ref-cpl-3rd-ch2-29-30-0[`F5bf`_`[28`#cite-note-cpl-3rd-ch2-29-30]`_`f]

Computers manufactured until the 1970s had front-panel switches for manual programming.`:cite-ref-osc-ch1-p6-31-0[`F5bf`_`[29`#cite-note-osc-ch1-p6-31]`_`f] The computer program was written on paper for reference. An instruction was represented by a configuration of on/off settings. After setting the configuration, an execute button was pressed. This process was then repeated. Computer programs also were automatically inputted via `F33f`_`[paper tape`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Paper_tape]`_`f, `F33f`_`[punched cards`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Punched_cards]`_`f or `F33f`_`[magnetic-tape`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=9-track_tape]`_`f. After the medium was loaded, the starting address was set via switches, and the execute button was pressed.`:cite-ref-osc-ch1-p6-31-1[`F5bf`_`[29`#cite-note-osc-ch1-p6-31]`_`f]

>>>Very Large Scale Integration

A major milestone in software development was the invention of the `F33f`_`[Very Large Scale Integration`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Very_Large_Scale_Integration]`_`f (VLSI) circuit (1964).

`F33f`_`[Robert Noyce`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Robert_Noyce]`_`f, co-founder of `F33f`_`[Fairchild Semiconductor`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Fairchild_Semiconductor]`_`f (1957) and `F33f`_`[Intel`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Intel]`_`f (1968), achieved a technological improvement to refine the `F33f`_`[production`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Semiconductor_device_fabrication]`_`f of `F33f`_`[field-effect transistors`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Field-effect_transistor]`_`f (1963).`:cite-ref-digital-age-32-0[`F5bf`_`[30`#cite-note-digital-age-32]`_`f] The goal is to alter the `F33f`_`[electrical resistivity and conductivity`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Electrical_resistivity_and_conductivity]`_`f of a `F33f`_`[semiconductor junction`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Semiconductor_junction]`_`f. First, naturally occurring `F33f`_`[silicate minerals`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Silicate_minerals]`_`f are converted into `F33f`_`[polysilicon`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Polysilicon]`_`f rods using the `F33f`_`[Siemens process`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Siemens_process]`_`f.`:cite-ref-osti-33-0[`F5bf`_`[31`#cite-note-osti-33]`_`f] The `F33f`_`[Czochralski process`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Czochralski_process]`_`f then converts the rods into a `F33f`_`[monocrystalline silicon`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Monocrystalline_silicon]`_`f, `F33f`_`[boule crystal`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Boule_(crystal)]`_`f.`:cite-ref-britannica-wafer-34-0[`F5bf`_`[32`#cite-note-britannica-wafer-34]`_`f] The `F33f`_`[crystal`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Crystal]`_`f is then thinly sliced to form a `F33f`_`[wafer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Wafer_(electronics)]`_`f `F33f`_`[substrate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Substrate_(materials_science)]`_`f. The `F33f`_`[planar process`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Planar_process]`_`f of `F33f`_`[photolithography`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Photolithography]`_`f then `*integrates`* unipolar transistors, `F33f`_`[capacitors`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Capacitor]`_`f, `F33f`_`[diodes`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Diode]`_`f, and `F33f`_`[resistors`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Resistor]`_`f onto the wafer to build a matrix of `F33f`_`[metal–oxide–semiconductor`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Metal–oxide–semiconductor]`_`f (MOS) transistors.`:cite-ref-anysilicon-35-0[`F5bf`_`[33`#cite-note-anysilicon-35]`_`f]`:cite-ref-britannica-micropressor-36-0[`F5bf`_`[34`#cite-note-britannica-micropressor-36]`_`f] The MOS transistor is the primary component in `*integrated circuit chips`*.`:cite-ref-digital-age-32-1[`F5bf`_`[30`#cite-note-digital-age-32]`_`f]

Originally, `F33f`_`[integrated circuit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Integrated_circuit]`_`f chips had their function set during manufacturing. During the 1960s, controlling the electrical flow migrated to programming a `F33f`_`[matrix`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Diode_matrix]`_`f of `F33f`_`[read-only memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Read-only_memory]`_`f (ROM). The matrix resembled a two-dimensional array of fuses. The process to embed instructions onto the matrix was to burn out the unneeded connections. There were so many connections, `F33f`_`[firmware`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Firmware]`_`f programmers wrote a `*computer program`* on another chip to oversee the burning. The technology became known as `F33f`_`[Programmable ROM`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programmable_ROM]`_`f. In 1971, Intel installed the computer program onto the chip and named it the `F33f`_`[Intel 4004`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Intel_4004]`_`f `F33f`_`[microprocessor`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microprocessor]`_`f.`:cite-ref-intel-4004-37-0[`F5bf`_`[35`#cite-note-intel-4004-37]`_`f]

The terms `*microprocessor`* and `F33f`_`[central processing unit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Central_processing_unit]`_`f (CPU) are now used interchangeably. However, CPUs predate microprocessors. For example, the `F33f`_`[IBM System/360`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM_System/360]`_`f (1964) had a CPU made from `F33f`_`[circuit boards containing discrete components on ceramic substrates`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM_Solid_Logic_Technology]`_`f.`:cite-ref-ibm-360-38-0[`F5bf`_`[36`#cite-note-ibm-360-38]`_`f]

>>>x86 series

In 1978, the modern software development environment began when Intel upgraded the `F33f`_`[Intel 8080`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Intel_8080]`_`f to the `F33f`_`[Intel 8086`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Intel_8086]`_`f. Intel simplified the Intel 8086 to manufacture the cheaper `F33f`_`[Intel 8088`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Intel_8088]`_`f.`:cite-ref-infoworld-8-23-82-39-0[`F5bf`_`[37`#cite-note-infoworld-8-23-82-39]`_`f] `F33f`_`[IBM`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM]`_`f embraced the Intel 8088 when they entered the `F33f`_`[personal computer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Personal_computer]`_`f market (1981). As `F33f`_`[consumer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Consumer]`_`f `F33f`_`[demand`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Demand]`_`f for personal computers increased, so did Intel's microprocessor development. The succession of development is known as the `F33f`_`[x86 series`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=X86]`_`f. The `F33f`_`[x86 assembly language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=X86_assembly_language]`_`f is a family of `F33f`_`[backward-compatible`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Backward-compatible]`_`f `F33f`_`[machine instructions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Machine_instruction]`_`f. Machine instructions created in earlier microprocessors were retained throughout microprocessor upgrades. This enabled consumers to purchase new computers without having to purchase new `F33f`_`[application software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Application_software]`_`f. The major categories of instructions are:`:cite-ref-40[`F5bf`_`[c`#cite-note-40]`_`f]

• Memory instructions to set and access numbers and `F33f`_`[strings`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=String_(computer_science)]`_`f in `F33f`_`[random-access memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Random-access_memory]`_`f.
• Integer `F33f`_`[arithmetic logic unit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Arithmetic_logic_unit]`_`f (ALU) instructions to perform the primary arithmetic operations on `F33f`_`[integers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Integers]`_`f.
• Floating point ALU instructions to perform the primary arithmetic operations on `F33f`_`[real numbers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Real_number]`_`f.
• `F33f`_`[Call stack`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Call_stack]`_`f instructions to push and pop `F33f`_`[words`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Word_(computer_architecture)]`_`f needed to allocate memory and interface with `F33f`_`[functions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Function_(computer_programming)]`_`f.
• `F33f`_`[Single instruction, multiple data`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Single_instruction,_multiple_data]`_`f (SIMD) instructions`:cite-ref-41[`F5bf`_`[d`#cite-note-41]`_`f] to increase speed when multiple processors are available to perform the same `F33f`_`[algorithm`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Algorithm]`_`f on an `F33f`_`[array of data`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Array_data_structure]`_`f.

>>>Changing programming environment

VLSI circuits enabled the `F33f`_`[programming environment`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_environment]`_`f to advance from a `F33f`_`[computer terminal`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_terminal]`_`f (until the 1990s) to a `F33f`_`[graphical user interface`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Graphical_user_interface]`_`f (GUI) computer. Computer terminals limited programmers to a single `F33f`_`[shell`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Shell_(computing)]`_`f running in a `F33f`_`[command-line environment`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Command-line_interface]`_`f. During the 1970s, full-screen source code editing became possible through a `F33f`_`[text-based user interface`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Text-based_user_interface]`_`f. Regardless of the technology available, the goal is to program in a `F33f`_`[programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_language]`_`f.

>>Programming paradigms and languages

Programming language features exist to provide building blocks to be combined to express programming ideals.`:cite-ref-stroustrup-ch1-10-42-0[`F5bf`_`[38`#cite-note-stroustrup-ch1-10-42]`_`f] Ideally, a programming language should:`:cite-ref-stroustrup-ch1-10-42-1[`F5bf`_`[38`#cite-note-stroustrup-ch1-10-42]`_`f]

• express ideas directly in the code.
• express independent ideas independently.
• express relationships among ideas directly in the code.
• combine ideas freely.
• combine ideas only where combinations make sense.
• express simple ideas simply.

The `F33f`_`[programming style`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_style]`_`f of a programming language to provide these building blocks may be categorized into `F33f`_`[programming paradigms`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_paradigm]`_`f.`:cite-ref-stroustrup-ch1-11-43-0[`F5bf`_`[39`#cite-note-stroustrup-ch1-11-43]`_`f] For example, different paradigms may differentiate:`:cite-ref-stroustrup-ch1-11-43-1[`F5bf`_`[39`#cite-note-stroustrup-ch1-11-43]`_`f]

• `F33f`_`[procedural languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Procedural_programming]`_`f, `F33f`_`[functional languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Functional_language]`_`f, and `F33f`_`[logical languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Logic_programming]`_`f.
• different levels of `F33f`_`[data abstraction`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Data_abstraction]`_`f.
• different levels of `F33f`_`[class hierarchy`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Class_hierarchy]`_`f.
• different levels of input `F33f`_`[datatypes`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Datatypes]`_`f, as in `F33f`_`[container types`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Container_(abstract_data_type)]`_`f and `F33f`_`[generic programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Generic_programming]`_`f.

Each of these programming styles has contributed to the synthesis of different `*programming languages`*.`:cite-ref-stroustrup-ch1-11-43-2[`F5bf`_`[39`#cite-note-stroustrup-ch1-11-43]`_`f]

A `*programming language`* is a set of `F33f`_`[keywords`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Reserved_word]`_`f, `F33f`_`[symbols`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Character_(computing)]`_`f, `F33f`_`[identifiers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Identifier_(computer_languages)]`_`f, and rules by which programmers can communicate instructions to the computer.`:cite-ref-pis-ch4-p159-44-0[`F5bf`_`[40`#cite-note-pis-ch4-p159-44]`_`f] They follow a set of rules called a `F33f`_`[syntax`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Syntax_(programming_languages)]`_`f.`:cite-ref-pis-ch4-p159-44-1[`F5bf`_`[40`#cite-note-pis-ch4-p159-44]`_`f]

• `*Keywords`* are reserved words to form `F33f`_`[declarations`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declaration_(computer_programming)]`_`f and `F33f`_`[statements`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Statement_(computer_science)]`_`f.
• `*Symbols`* are characters to form `F33f`_`[operations`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operation_(mathematics)]`_`f, `F33f`_`[assignments`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assignment_(computer_science)]`_`f, `F33f`_`[control flow`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Control_flow]`_`f, and `F33f`_`[delimiters`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Delimiter]`_`f.
• `*Identifiers`* are words created by programmers to form `F33f`_`[constants`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Constant_(computer_programming)]`_`f, `F33f`_`[variable names`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Variable_(computer_science)]`_`f, `F33f`_`[structure names`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Record_(computer_science)]`_`f, and `F33f`_`[function names`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Function_(computer_programming)]`_`f.
• `*Syntax Rules`* are defined in the `F33f`_`[Backus–Naur form`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Backus–Naur_form]`_`f.

`*Programming languages`* get their basis from `F33f`_`[formal languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Formal_language]`_`f.`:cite-ref-fla-ch1-p2-45-0[`F5bf`_`[41`#cite-note-fla-ch1-p2-45]`_`f] The purpose of defining a solution in terms of its `*formal language`* is to generate an `F33f`_`[algorithm`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Algorithm]`_`f to solve the underlining problem.`:cite-ref-fla-ch1-p2-45-1[`F5bf`_`[41`#cite-note-fla-ch1-p2-45]`_`f] An `*algorithm`* is a sequence of simple instructions that solve a problem.`:cite-ref-dsa-ch2-p29-46-0[`F5bf`_`[42`#cite-note-dsa-ch2-p29-46]`_`f]

>>>Generations of programming language

The evolution of programming languages began when the `F33f`_`[EDSAC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=EDSAC]`_`f (1949) used the first `F33f`_`[stored computer program`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Stored-program_computer]`_`f in its `F33f`_`[von Neumann architecture`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Von_Neumann_architecture]`_`f.`:cite-ref-sco-ch1-p17-47-0[`F5bf`_`[43`#cite-note-sco-ch1-p17-47]`_`f] Programming the EDSAC was in the first `F33f`_`[generation of programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_language_generations]`_`f.`:cite-ref-48[`F5bf`_`[44`#cite-note-48]`_`f]

• The `F33f`_`[first generation of programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=First-generation_programming_language]`_`f is `F33f`_`[machine language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Machine_language]`_`f.`:cite-ref-pis-ch4-p160-49-0[`F5bf`_`[45`#cite-note-pis-ch4-p160-49]`_`f] `*Machine language`* requires the programmer to enter instructions using `*instruction numbers`* called `F33f`_`[machine code`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Machine_code]`_`f. For example, the ADD operation on the `F33f`_`[PDP-11`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=PDP-11_architecture]`_`f has instruction number 24576.`:cite-ref-50[`F5bf`_`[e`#cite-note-50]`_`f]`:cite-ref-sco-ch7-p399-51-0[`F5bf`_`[46`#cite-note-sco-ch7-p399-51]`_`f]

• The `F33f`_`[second generation of programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Second-generation_programming_language]`_`f is `F33f`_`[assembly language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembly_language]`_`f.`:cite-ref-pis-ch4-p160-49-1[`F5bf`_`[45`#cite-note-pis-ch4-p160-49]`_`f] `*Assembly language`* allows the programmer to use `F33f`_`[mnemonic`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembly_language]`_`f `F33f`_`[instructions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Instruction_set_architecture]`_`f instead of remembering instruction numbers. An `F33f`_`[assembler`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembler_(computing)]`_`f translates each assembly language mnemonic into its machine language number. For example, on the PDP-11, the operation 24576 can be referenced as ADD R0,R0 in the source code.`:cite-ref-sco-ch7-p399-51-1[`F5bf`_`[46`#cite-note-sco-ch7-p399-51]`_`f] The four basic arithmetic operations have assembly instructions like ADD, SUB, MUL, and DIV.`:cite-ref-sco-ch7-p399-51-2[`F5bf`_`[46`#cite-note-sco-ch7-p399-51]`_`f] Computers also have instructions like DW (Define `F33f`_`[Word`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Word_(computer_architecture)]`_`f) to reserve `F33f`_`[memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Random-access_memory]`_`f cells. Then the MOV instruction can copy `F33f`_`[integers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Integer]`_`f between `F33f`_`[registers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Processor_register]`_`f and memory.

The basic structure of an assembly language statement is a label, `F33f`_`[operation`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operation_(mathematics)]`_`f, `F33f`_`[operand`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operand]`_`f, and comment.`:cite-ref-sco-ch7-p400-52-0[`F5bf`_`[47`#cite-note-sco-ch7-p400-52]`_`f] `*Labels`* allow the programmer to work with `F33f`_`[variable names`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Variable_(computer_science)]`_`f. The assembler will later translate labels into physical `F33f`_`[memory addresses`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_address]`_`f. `*Operations`* allow the programmer to work with mnemonics. The assembler will later translate mnemonics into instruction numbers. `*Operands`* tell the assembler which data the operation will process. `*Comments`* allow the programmer to articulate a narrative because the instructions alone are vague. The key characteristic of an assembly language program is it forms a one-to-one mapping to its corresponding machine language target.`:cite-ref-sco-ch7-p398-53-0[`F5bf`_`[48`#cite-note-sco-ch7-p398-53]`_`f]

• The `F33f`_`[third generation of programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Third-generation_programming_language]`_`f uses `F33f`_`[compilers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Compiler]`_`f and `F33f`_`[interpreters`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Interpreter_(computing)]`_`f to execute computer programs. The distinguishing feature of a `*third generation`* language is its independence from particular hardware.`:cite-ref-cpl-3rd-ch2-26-54-0[`F5bf`_`[49`#cite-note-cpl-3rd-ch2-26-54]`_`f] Early languages include `F33f`_`[Fortran`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Fortran]`_`f (1958), `F33f`_`[COBOL`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=COBOL]`_`f (1959), `F33f`_`[ALGOL`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ALGOL]`_`f (1960), and `F33f`_`[BASIC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=BASIC]`_`f (1964).`:cite-ref-pis-ch4-p160-49-2[`F5bf`_`[45`#cite-note-pis-ch4-p160-49]`_`f] In 1973, the `F33f`_`[C programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_programming_language]`_`f emerged as a `F33f`_`[high-level language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=High-level_language]`_`f that produced efficient machine language instructions.`:cite-ref-cpl-3rd-ch2-37-55-0[`F5bf`_`[50`#cite-note-cpl-3rd-ch2-37-55]`_`f] Whereas `*third-generation`* languages historically generated many machine instructions for each statement,`:cite-ref-pis-ch4-p160-quote1-56-0[`F5bf`_`[51`#cite-note-pis-ch4-p160-quote1-56]`_`f] C has statements that may generate a single machine instruction.`:cite-ref-57[`F5bf`_`[f`#cite-note-57]`_`f] Moreover, an `F33f`_`[optimizing compiler`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Optimizing_compiler]`_`f might overrule the programmer and produce fewer machine instructions than statements. Today, an entire `F33f`_`[paradigm`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_paradigm]`_`f of languages fill the `F33f`_`[imperative`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Imperative_programming]`_`f, `*third generation`* spectrum.

• The `F33f`_`[fourth generation of programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Fourth-generation_programming_language]`_`f emphasizes what output results are desired, rather than how programming statements should be constructed.`:cite-ref-pis-ch4-p160-49-3[`F5bf`_`[45`#cite-note-pis-ch4-p160-49]`_`f] `F33f`_`[Declarative languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declarative_language]`_`f attempt to limit `F33f`_`[side effects`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Side_effect_(computer_science)]`_`f and allow programmers to write code with relatively few errors.`:cite-ref-pis-ch4-p160-49-4[`F5bf`_`[45`#cite-note-pis-ch4-p160-49]`_`f] One popular `*fourth generation`* language is called `F33f`_`[Structured Query Language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Structured_Query_Language]`_`f (SQL).`:cite-ref-pis-ch4-p160-49-5[`F5bf`_`[45`#cite-note-pis-ch4-p160-49]`_`f] `F33f`_`[Database`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Database]`_`f developers no longer need to process each database record one at a time. Also, a simple `F33f`_`[select statement`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Select_(SQL)]`_`f can generate output records without having to understand how they are retrieved.

>>>Imperative languages

`*Imperative languages`* specify a sequential `F33f`_`[algorithm`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Algorithm]`_`f using `F33f`_`[declarations`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declaration_(computer_programming)]`_`f, `F33f`_`[expressions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Expression_(computer_science)]`_`f, and `F33f`_`[statements`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Statement_(computer_science)]`_`f:`:cite-ref-cpl-ch4-75-58-0[`F5bf`_`[52`#cite-note-cpl-ch4-75-58]`_`f]

• A `*declaration`* introduces a `F33f`_`[variable`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Variable_(programming)]`_`f name to the `*computer program`* and assigns it to a `F33f`_`[datatype`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Datatype]`_`f`:cite-ref-stroustrup-ch2-40-59-0[`F5bf`_`[53`#cite-note-stroustrup-ch2-40-59]`_`f] – for example: `B100`F9d9var x: integer;`f`b
• An `*expression`* yields a value – for example: `B100`F9d92 + 2`f`b yields 4
• A `*statement`* might `F33f`_`[assign`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assignment_(computer_science)]`_`f an expression to a variable or use the value of a variable to alter the program's `F33f`_`[control flow`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Control_flow]`_`f – for example: `B100`F9d9x := 2 + 2; `F33f`_`[if`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Conditional_(computer_programming)]`_`f x = 4 then do_something();`f`b

>>>>Fortran

`F33f`_`[FORTRAN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=FORTRAN]`_`f (1958) was unveiled as "The IBM Mathematical FORmula TRANslating system". It was designed for scientific calculations, without `F33f`_`[string`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=String_(computer_science)]`_`f handling facilities. Along with `F33f`_`[declarations`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declaration_(computer_programming)]`_`f, `F33f`_`[expressions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Expression_(computer_science)]`_`f, and `F33f`_`[statements`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Statement_(computer_science)]`_`f, it supported:

• `F33f`_`[arrays`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Array_data_structure]`_`f.
• `F33f`_`[subroutines`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Function_(computer_programming)]`_`f.
• `F33f`_`["do" loops`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=For_loop]`_`f.

It succeeded because:

• programming and debugging costs were below computer running costs.
• it was supported by IBM.
• applications at the time were scientific.`:cite-ref-cpl-3rd-ch2-16-60-0[`F5bf`_`[54`#cite-note-cpl-3rd-ch2-16-60]`_`f]

However, non-IBM vendors also wrote Fortran compilers, but with a syntax that would likely fail IBM's compiler.`:cite-ref-cpl-3rd-ch2-16-60-1[`F5bf`_`[54`#cite-note-cpl-3rd-ch2-16-60]`_`f] The `F33f`_`[American National Standards Institute`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=American_National_Standards_Institute]`_`f (ANSI) developed the first Fortran standard in 1966. In 1978, Fortran 77 became the standard until 1991. Fortran 90 supports:

• `F33f`_`[records`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Record_(computer_science)]`_`f.
• `F33f`_`[pointers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Pointer_(computer_programming)]`_`f to arrays.

>>>>COBOL

`F33f`_`[COBOL`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=COBOL]`_`f (1959) stands for "COmmon Business Oriented Language". Fortran manipulated symbols. It was soon realized that symbols did not need to be numbers, so `F33f`_`[strings`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=String_(computer_science)]`_`f were introduced.`:cite-ref-cpl-3rd-ch2-24-61-0[`F5bf`_`[55`#cite-note-cpl-3rd-ch2-24-61]`_`f] The `F33f`_`[US Department of Defense`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=US_Department_of_Defense]`_`f influenced COBOL's development, with `F33f`_`[Grace Hopper`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Grace_Hopper]`_`f being a major contributor. The statements were English-like and verbose. The goal was to design a language so managers could read the programs. However, the lack of structured statements hindered this goal.`:cite-ref-cpl-3rd-ch2-25-62-0[`F5bf`_`[56`#cite-note-cpl-3rd-ch2-25-62]`_`f]

COBOL's development was tightly controlled, so dialects did not emerge to require ANSI standards. As a consequence, it was not changed for 15 years until 1974. The 1990s version did make consequential changes, like `F33f`_`[object-oriented programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Object-oriented_programming]`_`f.`:cite-ref-cpl-3rd-ch2-25-62-1[`F5bf`_`[56`#cite-note-cpl-3rd-ch2-25-62]`_`f]

>>>>Algol

`F33f`_`[ALGOL`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ALGOL]`_`f (1960) stands for "ALGOrithmic Language". It had a profound influence on programming language design.`:cite-ref-cpl-3rd-ch2-19-63-0[`F5bf`_`[57`#cite-note-cpl-3rd-ch2-19-63]`_`f] Emerging from a committee of European and American programming language experts, it used standard `F33f`_`[mathematical notation`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Mathematical_notation]`_`f and had a readable, structured design. Algol was first to define its syntax using the `F33f`_`[Backus–Naur form`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Backus–Naur_form]`_`f.`:cite-ref-cpl-3rd-ch2-19-63-1[`F5bf`_`[57`#cite-note-cpl-3rd-ch2-19-63]`_`f] This led to `F33f`_`[syntax-directed`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Syntax-directed_translation]`_`f compilers. It added features like:

• `F33f`_`[block structure`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Block_(programming)]`_`f, where variables were local to their block.
• arrays with variable bounds.
• `F33f`_`["for" loops`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=For_loop]`_`f.
• `F33f`_`[functions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Function_(computer_programming)]`_`f.
• `F33f`_`[recursion`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Recursion_(computer_science)]`_`f.`:cite-ref-cpl-3rd-ch2-19-63-2[`F5bf`_`[57`#cite-note-cpl-3rd-ch2-19-63]`_`f]

Algol's direct descendants include `F33f`_`[Pascal`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Pascal_(programming_language)]`_`f, `F33f`_`[Modula-2`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Modula-2]`_`f, `F33f`_`[Ada`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Ada_(programming_language)]`_`f, `F33f`_`[Delphi`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Delphi_(software)]`_`f and `F33f`_`[Oberon`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Oberon_(programming_language)]`_`f on one branch. On another branch the descendants include `F33f`_`[C`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_(programming_language)]`_`f, `F33f`_`[C++`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C++]`_`f and `F33f`_`[Java`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Java_(programming_language)]`_`f.`:cite-ref-cpl-3rd-ch2-19-63-3[`F5bf`_`[57`#cite-note-cpl-3rd-ch2-19-63]`_`f]

>>>>Basic

`F33f`_`[BASIC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=BASIC]`_`f (1964) stands for "Beginner's All-Purpose Symbolic Instruction Code". It was developed at `F33f`_`[Dartmouth College`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Dartmouth_College]`_`f for all of their students to learn.`:cite-ref-cpl-3rd-ch2-30-10-1[`F5bf`_`[8`#cite-note-cpl-3rd-ch2-30-10]`_`f] If a student did not go on to a more powerful language, the student would still remember Basic.`:cite-ref-cpl-3rd-ch2-30-10-2[`F5bf`_`[8`#cite-note-cpl-3rd-ch2-30-10]`_`f] A Basic interpreter was installed in the `F33f`_`[microcomputers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microcomputers]`_`f manufactured in the late 1970s. As the microcomputer industry grew, so did the language.`:cite-ref-cpl-3rd-ch2-30-10-3[`F5bf`_`[8`#cite-note-cpl-3rd-ch2-30-10]`_`f]

Basic pioneered the `F33f`_`[interactive session`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Read–eval–print_loop]`_`f.`:cite-ref-cpl-3rd-ch2-30-10-4[`F5bf`_`[8`#cite-note-cpl-3rd-ch2-30-10]`_`f] It offered `F33f`_`[operating system`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operating_system]`_`f commands within its environment:

• The 'new' command created an empty slate.
• Statements evaluated immediately.
• Statements could be programmed by preceding them with line numbers.`:cite-ref-64[`F5bf`_`[g`#cite-note-64]`_`f]
• The 'list' command displayed the program.
• The 'run' command executed the program.

However, the Basic syntax was too simple for large programs.`:cite-ref-cpl-3rd-ch2-30-10-5[`F5bf`_`[8`#cite-note-cpl-3rd-ch2-30-10]`_`f] Recent dialects added structure and object-oriented extensions. `F33f`_`[Microsoft`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microsoft]`_`f's `F33f`_`[Visual Basic`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Visual_Basic]`_`f is still widely used and produces a `F33f`_`[graphical user interface`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Graphical_user_interface]`_`f.`:cite-ref-cpl-3rd-ch2-31-9-2[`F5bf`_`[7`#cite-note-cpl-3rd-ch2-31-9]`_`f]

>>>>C

`F33f`_`[C programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_programming_language]`_`f (1973) got its name because the language `F33f`_`[BCPL`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=BCPL]`_`f was replaced with `F33f`_`[B`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=B_(programming_language)]`_`f, and `F33f`_`[AT&T Bell Labs`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=AT&T_Bell_Labs]`_`f called the next version "C". Its purpose was to write the `F33f`_`[UNIX`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=UNIX]`_`f `F33f`_`[operating system`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operating_system]`_`f.`:cite-ref-cpl-3rd-ch2-37-55-1[`F5bf`_`[50`#cite-note-cpl-3rd-ch2-37-55]`_`f] C is a relatively small language, making it easy to write compilers. Its growth mirrored the hardware growth in the 1980s.`:cite-ref-cpl-3rd-ch2-37-55-2[`F5bf`_`[50`#cite-note-cpl-3rd-ch2-37-55]`_`f] Its growth also was because it has the facilities of `F33f`_`[assembly language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembly_language]`_`f, but it uses a `F33f`_`[high-level syntax`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=High-level_programming_language]`_`f. It added advanced features like:

• `F33f`_`[inline assembler`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Inline_assembler]`_`f.
• arithmetic on pointers.
• pointers to functions.
• bit operations.
• freely combining complex `F33f`_`[operators`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operators_in_C_and_C++]`_`f.`:cite-ref-cpl-3rd-ch2-37-55-3[`F5bf`_`[50`#cite-note-cpl-3rd-ch2-37-55]`_`f]

`*C`* allows the programmer to control which region of memory data is to be stored. `F33f`_`[Global variables`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Global_variable]`_`f and `F33f`_`[static variables`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Static_variable]`_`f require the fewest `F33f`_`[clock cycles`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Clock_cycle]`_`f to store. The `F33f`_`[stack`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Call_stack]`_`f is automatically used for the standard variable `F33f`_`[declarations`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declaration_(computer_programming)]`_`f. `F33f`_`[Heap`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Manual_memory_management]`_`f memory is returned to a `F33f`_`[pointer variable`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Pointer_variable]`_`f from the `F33f`_`[malloc()`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_dynamic_memory_allocation]`_`f function.

• The `*global and static data`* region is located just above the `*program`* region. (The program region is technically called the `*text`* region. It is where machine instructions are stored.)

The global and static data region is technically two regions.`:cite-ref-geeksforgeeks-65-0[`F5bf`_`[58`#cite-note-geeksforgeeks-65]`_`f] One region is called the `*initialized `F33f`_`[data segment`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Data_segment]`_`f`*, where variables declared with default values are stored. The other region is called the `*`F33f`_`[block started by segment`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=.bss]`_`f`*, where variables declared without default values are stored. Variables stored in the `*global and static data`* region have their `F33f`_`[addresses`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_address]`_`f set at compile time. They retain their values throughout the life of the process.

The global and static region stores the `*global variables`* that are declared on top of (outside) the `B100`F9d9main()`f`b function.`:cite-ref-cpl-ch1-p31-66-0[`F5bf`_`[59`#cite-note-cpl-ch1-p31-66]`_`f] Global variables are visible to `B100`F9d9main()`f`b and every other function in the source code.

On the other hand, variable declarations inside of `B100`F9d9main()`f`b, other functions, or within `B100`F9d9{`f`b `B100`F9d9}`f`b `F33f`_`[block delimiters`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Block_(programming)]`_`f are `*local variables`*. Local variables also include `*`F33f`_`[formal parameter`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Formal_parameter]`_`f variables`*. Parameter variables are enclosed within the parenthesis of a function definition.`:cite-ref-cpl-3rd-ch6-128-67-0[`F5bf`_`[60`#cite-note-cpl-3rd-ch6-128-67]`_`f] Parameters provide an `F33f`_`[interface`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Interface_(computing)]`_`f to the function.

`*Local variables`* declared using the `B100`F9d9static`f`b prefix are also stored in the `*global and static data`* region.`:cite-ref-geeksforgeeks-65-1[`F5bf`_`[58`#cite-note-geeksforgeeks-65]`_`f] Unlike global variables, static variables are only visible within the function or block. Static variables always retain their value. An example usage would be the function `B100`F9d9int increment_counter(){static int counter = 0; counter++; return counter;}`f`b`:cite-ref-68[`F5bf`_`[h`#cite-note-68]`_`f]

• The `F33f`_`[stack`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Call_stack]`_`f region is a contiguous block of memory located near the top memory address.`:cite-ref-lpi-ch6-p121-69-0[`F5bf`_`[61`#cite-note-lpi-ch6-p121-69]`_`f] Variables placed in the stack are populated from top to bottom.`:cite-ref-70[`F5bf`_`[i`#cite-note-70]`_`f]`:cite-ref-lpi-ch6-p121-69-1[`F5bf`_`[61`#cite-note-lpi-ch6-p121-69]`_`f] A `F33f`_`[stack pointer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Call_stack]`_`f is a special-purpose `F33f`_`[register`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Processor_register]`_`f that keeps track of the last memory address populated.`:cite-ref-lpi-ch6-p121-69-2[`F5bf`_`[61`#cite-note-lpi-ch6-p121-69]`_`f] Variables are placed into the stack via the `*assembly language`* PUSH instruction. Therefore, the addresses of these variables are set during `F33f`_`[runtime`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Runtime_(program_lifecycle_phase)]`_`f. The method for stack variables to lose their `F33f`_`[scope`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Scope_(computer_science)]`_`f is via the POP instruction.

`*Local variables`* declared without the `B100`F9d9static`f`b prefix, including formal parameter variables,`:cite-ref-lpi-ch6-p122-71-0[`F5bf`_`[62`#cite-note-lpi-ch6-p122-71]`_`f] are called `*automatic variables`*`:cite-ref-cpl-ch1-p31-66-1[`F5bf`_`[59`#cite-note-cpl-ch1-p31-66]`_`f] and are stored in the stack.`:cite-ref-geeksforgeeks-65-2[`F5bf`_`[58`#cite-note-geeksforgeeks-65]`_`f] They are visible inside the function or block and lose their scope upon exiting the function or block.

• The `F33f`_`[heap`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Manual_memory_management]`_`f region is located below the stack.`:cite-ref-geeksforgeeks-65-3[`F5bf`_`[58`#cite-note-geeksforgeeks-65]`_`f] It is populated from the bottom to the top. The `F33f`_`[operating system`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operating_system]`_`f manages the heap using a `*heap pointer`* and a list of allocated memory blocks.`:cite-ref-cpl-ch1-p185-72-0[`F5bf`_`[63`#cite-note-cpl-ch1-p185-72]`_`f] Like the stack, the addresses of heap variables are set during runtime. An `F33f`_`[out of memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Out_of_memory]`_`f error occurs when the heap pointer and the stack pointer meet.

`*C`* provides the `B100`F9d9malloc()`f`b library function to `F33f`_`[allocate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_dynamic_memory_allocation]`_`f heap memory.`:cite-ref-73[`F5bf`_`[j`#cite-note-73]`_`f]`:cite-ref-cpl-ch8-p187-74-0[`F5bf`_`[64`#cite-note-cpl-ch8-p187-74]`_`f] Populating the heap with data is an additional copy function.`:cite-ref-75[`F5bf`_`[k`#cite-note-75]`_`f] Variables stored in the heap are economically passed to functions using pointers. Without pointers, the entire block of data would have to be passed to the function via the stack.

>>>>C++

In the 1970s, `F33f`_`[software engineers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_engineers]`_`f needed language support to break large projects down into `F33f`_`[modules`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Modular_programming]`_`f.`:cite-ref-cpl-3rd-ch2-38-76-0[`F5bf`_`[65`#cite-note-cpl-3rd-ch2-38-76]`_`f] One obvious feature was to decompose large projects `*physically`* into separate `F33f`_`[files`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_file]`_`f. A less obvious feature was to decompose large projects `*logically`* into `F33f`_`[abstract data types`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Abstract_data_type]`_`f.`:cite-ref-cpl-3rd-ch2-38-76-1[`F5bf`_`[65`#cite-note-cpl-3rd-ch2-38-76]`_`f] At the time, languages supported `F33f`_`[concrete (scalar)`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Type_system]`_`f datatypes like `F33f`_`[integer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Integer]`_`f numbers, `F33f`_`[floating-point`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Floating-point]`_`f numbers, and `F33f`_`[strings`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=String_(computer_science)]`_`f of `F33f`_`[characters`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Character_(computing)]`_`f. Abstract datatypes are `F33f`_`[structures`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Record_(computer_science)]`_`f of concrete datatypes, with a new name assigned. For example, a `F33f`_`[list`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=List_(abstract_data_type)]`_`f of integers could be called `B100`F9d9integer_list`f`b.

In object-oriented jargon, abstract datatypes are called `F33f`_`[classes`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Class_(computer_programming)]`_`f. However, a `*class`* is only a definition; no memory is allocated. When memory is allocated to a class and `F33f`_`[bound`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Name_binding]`_`f to an `F33f`_`[identifier`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Identifier]`_`f, it is called an `F33f`_`[object`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Object_(computer_science)]`_`f.`:cite-ref-cpl-3rd-ch8-193-77-0[`F5bf`_`[66`#cite-note-cpl-3rd-ch8-193-77]`_`f]

`F33f`_`[Object-oriented imperative languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Object-oriented_programming]`_`f developed by combining the need for classes and the need for safe `F33f`_`[functional programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Functional_programming]`_`f.`:cite-ref-cpl-3rd-ch2-39-78-0[`F5bf`_`[67`#cite-note-cpl-3rd-ch2-39-78]`_`f] A function, in an object-oriented language, is assigned to a class. An assigned function is then referred to as a `F33f`_`[method`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Method_(computer_programming)]`_`f, `F33f`_`[member function`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Member_function]`_`f, or `F33f`_`[operation`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operation_(mathematics)]`_`f. `*Object-oriented programming`* is executing `*operations`* on `*objects`*.`:cite-ref-cpl-3rd-ch2-35-79-0[`F5bf`_`[68`#cite-note-cpl-3rd-ch2-35-79]`_`f]

`*Object-oriented languages`* support a syntax to model `F33f`_`[subset/superset`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Subset]`_`f relationships. In `F33f`_`[set theory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Set_theory]`_`f, an `F33f`_`[element`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Element_(mathematics)]`_`f of a subset inherits all the attributes contained in the superset. For example, a student is a person. Therefore, the set of students is a subset of the set of persons. As a result, students inherit all the attributes common to all persons. Additionally, students have unique attributes that other people do not have. `*Object-oriented languages`* model `*subset/superset`* relationships using `F33f`_`[inheritance`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Inheritance_(object-oriented_programming)]`_`f.`:cite-ref-cpl-3rd-ch8-192-80-0[`F5bf`_`[69`#cite-note-cpl-3rd-ch8-192-80]`_`f] `*Object-oriented programming`* became the dominant language paradigm by the late 1990s.`:cite-ref-cpl-3rd-ch2-38-76-2[`F5bf`_`[65`#cite-note-cpl-3rd-ch2-38-76]`_`f]

`F33f`_`[C++`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C++]`_`f (1985) was originally called "C with Classes".`:cite-ref-stroustrup-notes-22-81-0[`F5bf`_`[70`#cite-note-stroustrup-notes-22-81]`_`f] It was designed to expand `F33f`_`[C's`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_(programming_language)]`_`f capabilities by adding the object-oriented facilities of the language `F33f`_`[Simula`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Simula]`_`f.`:cite-ref-stroustrup-notes-21-82-0[`F5bf`_`[71`#cite-note-stroustrup-notes-21-82]`_`f]

An object-oriented module is composed of two files. The definitions file is called the `F33f`_`[header file`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Header_file]`_`f. Here is a C++ `*header file`* for the `*GRADE class`* in a simple school application:

`B100`F9d9// grade.h`f`b
`B100`F9d9// -------`f`b
`B100`F9d9`f`b
`B100`F9d9// Used to allow multiple source files to include`f`b
`B100`F9d9// this header file without duplication errors.`f`b
`B100`F9d9// ----------------------------------------------`f`b
`B100`F9d9#ifndef GRADE_H`f`b
`B100`F9d9#define GRADE_H`f`b
`B100`F9d9`f`b
`B100`F9d9class GRADE {`f`b
`B100`F9d9public:`f`b
`B100`F9d9 // This is the constructor operation.`f`b
`B100`F9d9 // ----------------------------------`f`b
`B100`F9d9 GRADE ( const char letter );`f`b
`B100`F9d9`f`b
`B100`F9d9 // This is a class variable.`f`b
`B100`F9d9 // -------------------------`f`b
`B100`F9d9 char letter;`f`b
`B100`F9d9`f`b
`B100`F9d9 // This is a member operation.`f`b
`B100`F9d9 // ---------------------------`f`b
`B100`F9d9 int grade_numeric( const char letter );`f`b
`B100`F9d9`f`b
`B100`F9d9 // This is a class variable.`f`b
`B100`F9d9 // -------------------------`f`b
`B100`F9d9 int numeric;`f`b
`B100`F9d9};`f`b
`B100`F9d9#endif`f`b

A `F33f`_`[constructor`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Constructor_(object-oriented_programming)]`_`f operation is a function with the same name as the class name.`:cite-ref-stroustrup-ch2-49-83-0[`F5bf`_`[72`#cite-note-stroustrup-ch2-49-83]`_`f] It is executed when the calling operation executes the `B100`F9d9`F33f`_`[new`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=New_and_delete_(C++)]`_`f`f`b statement.

A module's other file is the `F33f`_`[source file`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Source_file]`_`f. Here is a C++ source file for the `*GRADE class`* in a simple school application:

`B100`F9d9// grade.cpp`f`b
`B100`F9d9// ---------`f`b
`B100`F9d9#include "grade.h"`f`b
`B100`F9d9`f`b
`B100`F9d9GRADE::GRADE( const char letter )`f`b
`B100`F9d9{`f`b
`B100`F9d9 // Reference the object using the keyword 'this'.`f`b
`B100`F9d9 // ----------------------------------------------`f`b
`B100`F9d9 this->letter = letter;`f`b
`B100`F9d9`f`b
`B100`F9d9 // This is Temporal Cohesion`f`b
`B100`F9d9 // -------------------------`f`b
`B100`F9d9 this->numeric = grade_numeric( letter );`f`b
`B100`F9d9}`f`b
`B100`F9d9`f`b
`B100`F9d9int GRADE::grade_numeric( const char letter )`f`b
`B100`F9d9{`f`b
`B100`F9d9 if ( ( letter == 'A' || letter == 'a' ) )`f`b
`B100`F9d9 return 4;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'B' || letter == 'b' ) )`f`b
`B100`F9d9 return 3;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'C' || letter == 'c' ) )`f`b
`B100`F9d9 return 2;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'D' || letter == 'd' ) )`f`b
`B100`F9d9 return 1;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'F' || letter == 'f' ) )`f`b
`B100`F9d9 return 0;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 return -1;`f`b
`B100`F9d9}`f`b

Here is a C++ `*header file`* for the `*PERSON class`* in a simple school application:

`B100`F9d9// person.h`f`b
`B100`F9d9// --------`f`b
`B100`F9d9#ifndef PERSON_H`f`b
`B100`F9d9#define PERSON_H`f`b
`B100`F9d9`f`b
`B100`F9d9class PERSON {`f`b
`B100`F9d9public:`f`b
`B100`F9d9 PERSON ( const char *name );`f`b
`B100`F9d9 const char *name;`f`b
`B100`F9d9};`f`b
`B100`F9d9#endif`f`b

Here is a C++ `*source file`* for the `*PERSON class`* in a simple school application:

`B100`F9d9// person.cpp`f`b
`B100`F9d9// ----------`f`b
`B100`F9d9#include "person.h"`f`b
`B100`F9d9`f`b
`B100`F9d9PERSON::PERSON ( const char *name )`f`b
`B100`F9d9{`f`b
`B100`F9d9 this->name = name;`f`b
`B100`F9d9}`f`b

Here is a C++ `*header file`* for the `*STUDENT class`* in a simple school application:

`B100`F9d9// student.h`f`b
`B100`F9d9// ---------`f`b
`B100`F9d9#ifndef STUDENT_H`f`b
`B100`F9d9#define STUDENT_H`f`b
`B100`F9d9`f`b
`B100`F9d9#include "person.h"`f`b
`B100`F9d9#include "grade.h"`f`b
`B100`F9d9`f`b
`B100`F9d9// A STUDENT is a subset of PERSON.`f`b
`B100`F9d9// --------------------------------`f`b
`B100`F9d9class STUDENT : public PERSON{`f`b
`B100`F9d9public:`f`b
`B100`F9d9 STUDENT ( const char *name );`f`b
`B100`F9d9 GRADE *grade;`f`b
`B100`F9d9};`f`b
`B100`F9d9#endif`f`b

Here is a C++ `*source file`* for the `*STUDENT class`* in a simple school application:

`B100`F9d9// student.cpp`f`b
`B100`F9d9// -----------`f`b
`B100`F9d9#include "student.h"`f`b
`B100`F9d9#include "person.h"`f`b
`B100`F9d9`f`b
`B100`F9d9STUDENT::STUDENT ( const char *name ):`f`b
`B100`F9d9 // Execute the constructor of the PERSON superclass.`f`b
`B100`F9d9 // -------------------------------------------------`f`b
`B100`F9d9 PERSON( name )`f`b
`B100`F9d9{`f`b
`B100`F9d9 // Nothing else to do.`f`b
`B100`F9d9 // -------------------`f`b
`B100`F9d9}`f`b

Here is a driver program for demonstration:

`B100`F9d9// student_dvr.cpp`f`b
`B100`F9d9// ---------------`f`b
`B100`F9d9#include <iostream>`f`b
`B100`F9d9#include "student.h"`f`b
`B100`F9d9`f`b
`B100`F9d9int main( void )`f`b
`B100`F9d9{`f`b
`B100`F9d9 STUDENT *student = new STUDENT( "The Student" );`f`b
`B100`F9d9 student->grade = new GRADE( 'a' );`f`b
`B100`F9d9`f`b
`B100`F9d9 std::cout`f`b
`B100`F9d9 // Notice student inherits PERSON's name`f`b
`B100`F9d9 << student->name`f`b
`B100`F9d9 << ": Numeric grade = "`f`b
`B100`F9d9 << student->grade->numeric`f`b
`B100`F9d9 << "\\n";`f`b
`B100`F9d9 return 0;`f`b
`B100`F9d9}`f`b

Here is a `F33f`_`[makefile`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Makefile]`_`f to compile everything:

`B100`F9d9# makefile`f`b
`B100`F9d9# --------`f`b
`B100`F9d9all: student_dvr`f`b
`B100`F9d9`f`b
`B100`F9d9clean:`f`b
`B100`F9d9 rm student_dvr *.o`f`b
`B100`F9d9`f`b
`B100`F9d9student_dvr: student_dvr.cpp grade.o student.o person.o`f`b
`B100`F9d9 c++ student_dvr.cpp grade.o student.o person.o -o student_dvr`f`b
`B100`F9d9`f`b
`B100`F9d9grade.o: grade.cpp grade.h`f`b
`B100`F9d9 c++ -c grade.cpp`f`b
`B100`F9d9`f`b
`B100`F9d9student.o: student.cpp student.h`f`b
`B100`F9d9 c++ -c student.cpp`f`b
`B100`F9d9`f`b
`B100`F9d9person.o: person.cpp person.h`f`b
`B100`F9d9 c++ -c person.cpp`f`b

>>>Declarative languages

`*Imperative languages`* have one major criticism: assigning an expression to a `*non-local`* variable may produce an unintended `F33f`_`[side effect`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Side_effect_(computer_science)]`_`f.`:cite-ref-cpl-3rd-ch9-218-84-0[`F5bf`_`[73`#cite-note-cpl-3rd-ch9-218-84]`_`f] `F33f`_`[Declarative languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declarative_language]`_`f generally omit the assignment statement and the control flow. They describe `*what`* computation should be performed and not `*how`* to compute it. Two broad categories of declarative languages are `F33f`_`[functional languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Functional_language]`_`f and `F33f`_`[logical languages`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Logic_programming]`_`f.

The principle behind a `*functional language`* is to use `F33f`_`[lambda calculus`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Lambda_calculus]`_`f as a guide for a well defined `F33f`_`[semantic`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Semantics_(computer_science)]`_`f.`:cite-ref-cpl-3rd-ch9-217-85-0[`F5bf`_`[74`#cite-note-cpl-3rd-ch9-217-85]`_`f] In mathematics, a function is a rule that maps elements from an `*expression`* to a range of `*values`*. Consider the function:

`B100`F9d9times_10(x) = 10 * x`f`b

The `*expression`* `B100`F9d910 * x`f`b is mapped by the function `B100`F9d9times_10()`f`b to a range of `*values`*. One `*value`* happens to be 20. This occurs when x is 2. So, the application of the function is mathematically written as:

`B100`F9d9times_10(2) = 20`f`b

A `*functional language`* compiler will not store this value in a variable. Instead, it will `*push`* the value onto the computer's `F33f`_`[stack`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Call_stack]`_`f before setting the `F33f`_`[program counter`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Program_counter]`_`f back to the calling function. The calling function will then `*pop`* the value from the stack.`:cite-ref-dsa-ch3-p103-86-0[`F5bf`_`[75`#cite-note-dsa-ch3-p103-86]`_`f]

`*Imperative languages`* do support functions. Therefore, `*functional programming`* can be achieved in an imperative language, if the programmer uses discipline. However, a `*functional language`* will force this discipline onto the programmer through its syntax. Functional languages have a syntax tailored to emphasize the `*what`*.`:cite-ref-cpl-3rd-ch9-230-87-0[`F5bf`_`[76`#cite-note-cpl-3rd-ch9-230-87]`_`f]

A functional program is developed with a set of primitive functions followed by a single driver function.`:cite-ref-cpl-3rd-ch9-218-84-1[`F5bf`_`[73`#cite-note-cpl-3rd-ch9-218-84]`_`f] Consider the `F33f`_`[snippet`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Snippet_(programming)]`_`f:

`B100`F9d9function max( a, b ){/* code omitted */}`f`b

`B100`F9d9function min( a, b ){/* code omitted */}`f`b

`B100`F9d9function range( a, b, c ) {`f`b

`B100`F9d9return max( a, max( b, c ) ) - min( a, min( b, c ) );`f`b

`B100`F9d9}`f`b

The primitives are `B100`F9d9max()`f`b and `B100`F9d9min()`f`b. The driver function is `B100`F9d9range()`f`b. Executing:

`B100`F9d9put( range( 10, 4, 7) );`f`b will output 6.

`*Functional languages`* are used in `F33f`_`[computer science`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_science]`_`f research to explore new language features.`:cite-ref-cpl-3rd-ch9-240-88-0[`F5bf`_`[77`#cite-note-cpl-3rd-ch9-240-88]`_`f] Moreover, their lack of side-effects have made them popular in `F33f`_`[parallel programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Parallel_programming]`_`f and `F33f`_`[concurrent programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Concurrent_programming]`_`f.`:cite-ref-cpl-3rd-ch9-241-89-0[`F5bf`_`[78`#cite-note-cpl-3rd-ch9-241-89]`_`f] However, application developers prefer the `F33f`_`[object-oriented features`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Object-oriented_programming]`_`f of `*imperative languages`*.`:cite-ref-cpl-3rd-ch9-241-89-1[`F5bf`_`[78`#cite-note-cpl-3rd-ch9-241-89]`_`f]

>>>>Lisp

`F33f`_`[Lisp`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Lisp_(programming_language)]`_`f (1958) stands for "LISt Processor".`:cite-ref-artoflisp-90-0[`F5bf`_`[79`#cite-note-artoflisp-90]`_`f] It is tailored to process `F33f`_`[lists`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=List_(abstract_data_type)]`_`f. A full structure of the data is formed by building lists of lists. In memory, a `F33f`_`[tree data structure`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Tree_data_structure]`_`f is built. Internally, the tree structure lends nicely for `F33f`_`[recursive`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Recursion_(computer_science)]`_`f functions.`:cite-ref-cpl-3rd-ch9-220-91-0[`F5bf`_`[80`#cite-note-cpl-3rd-ch9-220-91]`_`f] The syntax to build a tree is to enclose the space-separated `F33f`_`[elements`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Element_(mathematics)]`_`f within parenthesis. The following is a `F33f`_`[list`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=List]`_`f of three elements. The first two elements are themselves lists of two elements:

`B100`F9d9((A B) (HELLO WORLD) 94)`f`b

Lisp has functions to extract and reconstruct elements.`:cite-ref-cpl-3rd-ch9-221-92-0[`F5bf`_`[81`#cite-note-cpl-3rd-ch9-221-92]`_`f] The function `B100`F9d9head()`f`b returns a list containing the first element in the list. The function `B100`F9d9tail()`f`b returns a list containing everything but the first element. The function `B100`F9d9cons()`f`b returns a list that is the concatenation of other lists. Therefore, the following expression will return the list `B100`F9d9x`f`b:

`B100`F9d9cons(head(x), tail(x))`f`b

One drawback of Lisp is when many functions are nested, the parentheses may look confusing.`:cite-ref-cpl-3rd-ch9-230-87-1[`F5bf`_`[76`#cite-note-cpl-3rd-ch9-230-87]`_`f] Modern Lisp `F33f`_`[environments`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Integrated_development_environment]`_`f help ensure parenthesis match. As an aside, Lisp does support the `*imperative language`* operations of the assignment statement and goto loops.`:cite-ref-cpl-3rd-ch9-229-93-0[`F5bf`_`[82`#cite-note-cpl-3rd-ch9-229-93]`_`f] Also, `*Lisp`* is not concerned with the `F33f`_`[datatype`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Datatype]`_`f of the elements at compile time.`:cite-ref-cpl-3rd-ch9-227-94-0[`F5bf`_`[83`#cite-note-cpl-3rd-ch9-227-94]`_`f] Instead, it assigns (and may reassign) the datatypes at `F33f`_`[runtime`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Runtime_(program_lifecycle_phase)]`_`f. Assigning the datatype at runtime is called `F33f`_`[dynamic binding`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Name_binding]`_`f.`:cite-ref-cpl-3rd-ch9-222-95-0[`F5bf`_`[84`#cite-note-cpl-3rd-ch9-222-95]`_`f] Whereas dynamic binding increases the language's flexibility, programming errors may linger until late in the `F33f`_`[software development process`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_development_process]`_`f.`:cite-ref-cpl-3rd-ch9-222-95-1[`F5bf`_`[84`#cite-note-cpl-3rd-ch9-222-95]`_`f]

Writing large, reliable, and readable Lisp programs requires forethought. If properly planned, the program may be much shorter than an equivalent `*imperative language`* program.`:cite-ref-cpl-3rd-ch9-230-87-2[`F5bf`_`[76`#cite-note-cpl-3rd-ch9-230-87]`_`f] `*Lisp`* is widely used in `F33f`_`[artificial intelligence`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Artificial_intelligence]`_`f. However, its usage has been accepted only because it has `*imperative language`* operations, making unintended side-effects possible.`:cite-ref-cpl-3rd-ch9-241-89-2[`F5bf`_`[78`#cite-note-cpl-3rd-ch9-241-89]`_`f]

>>>>ML

`F33f`_`[ML`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ML_(programming_language)]`_`f (1973)`:cite-ref-gordon1996-96-0[`F5bf`_`[85`#cite-note-gordon1996-96]`_`f] stands for "Meta Language". ML checks to make sure only data of the same type are compared with one another.`:cite-ref-cpl-3rd-ch9-233-97-0[`F5bf`_`[86`#cite-note-cpl-3rd-ch9-233-97]`_`f] For example, this function has one input parameter (an integer) and returns an integer:

`B100`F9d9fun times_10(n : int) : int = 10 * n;`f`b

`*ML`* is not parenthesis-eccentric like `*Lisp`*. The following is an application of `B100`F9d9times_10()`f`b:

`B100`F9d9times_10 2`f`b

It returns "20 : int". (Both the results and the datatype are returned.)

Like `*Lisp`*, `*ML`* is tailored to process lists. Unlike `*Lisp`*, each element is the same datatype.`:cite-ref-cpl-3rd-ch9-235-98-0[`F5bf`_`[87`#cite-note-cpl-3rd-ch9-235-98]`_`f] Moreover, `*ML`* assigns the datatype of an element at `F33f`_`[compile time`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Compile_time]`_`f. Assigning the datatype at compile time is called `F33f`_`[static binding`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Name_binding]`_`f. Static binding increases reliability because the compiler checks the context of variables before they are used.`:cite-ref-cpl-3rd-ch3-55-99-0[`F5bf`_`[88`#cite-note-cpl-3rd-ch3-55-99]`_`f]

>>>>Prolog

`F33f`_`[Prolog`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Prolog]`_`f (1972) stands for "PROgramming in LOGic". It is a `F33f`_`[logic programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Logic_programming]`_`f language, based on formal `F33f`_`[logic`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Logic]`_`f. The language was developed by `F33f`_`[Alain Colmerauer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Alain_Colmerauer]`_`f and Philippe Roussel in Marseille, France. It is an implementation of `F33f`_`[Selective Linear Definite clause resolution`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=SLD_resolution]`_`f, pioneered by `F33f`_`[Robert Kowalski`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Robert_Kowalski]`_`f and others at the `F33f`_`[University of Edinburgh`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=University_of_Edinburgh]`_`f.`:cite-ref-100[`F5bf`_`[89`#cite-note-100]`_`f]

The building blocks of a Prolog program are `*facts`* and `*rules`*. Here is a simple example:

`B100`F9d9cat(tom). % tom is a cat`f`b
`B100`F9d9mouse(jerry). % jerry is a mouse`f`b
`B100`F9d9`f`b
`B100`F9d9animal(X) :- cat(X). % each cat is an animal`f`b
`B100`F9d9animal(X) :- mouse(X). % each mouse is an animal`f`b
`B100`F9d9`f`b
`B100`F9d9big(X) :- cat(X). % each cat is big`f`b
`B100`F9d9small(X) :- mouse(X). % each mouse is small`f`b
`B100`F9d9`f`b
`B100`F9d9eat(X,Y) :- mouse(X), cheese(Y). % each mouse eats each cheese`f`b
`B100`F9d9eat(X,Y) :- big(X), small(Y). % each big animal eats each small animal`f`b

After all the facts and rules are entered, then a question can be asked:

Will Tom eat Jerry?

`B100`F9d9?- eat(tom,jerry).`f`b
`B100`F9d9true`f`b

The following example shows how Prolog will convert a letter grade to its numeric value:

`B100`F9d9numeric_grade('A', 4).`f`b
`B100`F9d9numeric_grade('B', 3).`f`b
`B100`F9d9numeric_grade('C', 2).`f`b
`B100`F9d9numeric_grade('D', 1).`f`b
`B100`F9d9numeric_grade('F', 0).`f`b
`B100`F9d9numeric_grade(X, -1) :- not X = 'A', not X = 'B', not X = 'C', not X = 'D', not X = 'F'.`f`b
`B100`F9d9grade('The Student', 'A').`f`b

`B100`F9d9?- grade('The Student', X), numeric_grade(X, Y).`f`b
`B100`F9d9X = 'A',`f`b
`B100`F9d9Y = 4`f`b

Here is a comprehensive example:`:cite-ref-logical-english-101-0[`F5bf`_`[90`#cite-note-logical-english-101]`_`f]

1) All dragons billow fire, or equivalently, a thing billows fire if the thing is a dragon:

`B100`F9d9billows_fire(X) :-`f`b
`B100`F9d9 is_a_dragon(X).`f`b

2) A creature billows fire if one of its parents billows fire:

`B100`F9d9billows_fire(X) :-`f`b
`B100`F9d9 is_a_creature(X),`f`b
`B100`F9d9 is_a_parent_of(Y,X),`f`b
`B100`F9d9 billows_fire(Y).`f`b

3) A thing X is a parent of a thing Y if X is the mother of Y or X is the father of Y:

`B100`F9d9is_a_parent_of(X, Y):- is_the_mother_of(X, Y).`f`b
`B100`F9d9is_a_parent_of(X, Y):- is_the_father_of(X, Y).`f`b

4) A thing is a creature if the thing is a dragon:

`B100`F9d9is_a_creature(X) :-`f`b
`B100`F9d9 is_a_dragon(X).`f`b

5) Norberta is a dragon, and Puff is a creature. Norberta is the mother of Puff.

`B100`F9d9is_a_dragon(norberta).`f`b
`B100`F9d9is_a_creature(puff).`f`b
`B100`F9d9is_the_mother_of(norberta, puff).`f`b

Rule (2) is a `F33f`_`[recursive`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Recursion_(computer_science)]`_`f (inductive) definition. It can be understood declaratively, without the need to understand how it is executed.

Rule (3) shows how `F33f`_`[functions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Function_(computer_programming)]`_`f are represented by using relations. Here, the mother and father functions ensure that every individual has only one mother and only one father.

Prolog is an untyped language. Nonetheless, `F33f`_`[inheritance`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Inheritance_(object-oriented_programming)]`_`f can be represented by using predicates. Rule (4) asserts that a creature is a superclass of a dragon.

Questions are answered using `F33f`_`[backward reasoning`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Backward_reasoning]`_`f. Given the question:

`B100`F9d9 ?- billows_fire(X).`f`b

Prolog generates two answers :

`B100`F9d9X = norberta`f`b
`B100`F9d9X = puff`f`b

Practical applications for Prolog are `F33f`_`[knowledge representation`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Knowledge_representation]`_`f and `F33f`_`[problem solving`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Problem_solving]`_`f in `F33f`_`[artificial intelligence`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Artificial_intelligence]`_`f.

>>>Object-oriented programming

`F33f`_`[Object-oriented programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Object-oriented_programming]`_`f is a programming method to execute `F33f`_`[operations`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Method_(computer_programming)]`_`f (`F33f`_`[functions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Function_(computer_programming)]`_`f) on `F33f`_`[objects`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Object_(computer_science)]`_`f.`:cite-ref-cpl-3rd-ch2-35-quote1-102-0[`F5bf`_`[91`#cite-note-cpl-3rd-ch2-35-quote1-102]`_`f] The basic idea is to group the characteristics of a `F33f`_`[phenomenon`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Phenomenon]`_`f into an object `F33f`_`[container`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Record_(computer_science)]`_`f and give the container a name. The `*operations`* on the phenomenon are also grouped into the container.`:cite-ref-cpl-3rd-ch2-35-quote1-102-1[`F5bf`_`[91`#cite-note-cpl-3rd-ch2-35-quote1-102]`_`f] `*Object-oriented programming`* developed by combining the need for containers and the need for safe `F33f`_`[functional programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Functional_programming]`_`f.`:cite-ref-cpl-3rd-ch2-39-quote1-103-0[`F5bf`_`[92`#cite-note-cpl-3rd-ch2-39-quote1-103]`_`f] This programming method need not be confined to an `*object-oriented language`*.`:cite-ref-se-ch9-284-quote1-104-0[`F5bf`_`[93`#cite-note-se-ch9-284-quote1-104]`_`f] In an object-oriented language, an object container is called a `F33f`_`[class`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Class_(computer_programming)]`_`f. In a non-object-oriented language, a `F33f`_`[data structure`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Data_structure]`_`f (which is also known as a `F33f`_`[record`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Record_(computer_science)]`_`f) may become an object container. To turn a data structure into an object container, operations need to be written specifically for the structure. The resulting structure is called an `F33f`_`[abstract datatype`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Abstract_datatype]`_`f.`:cite-ref-dsa-ch3-p57-105-0[`F5bf`_`[94`#cite-note-dsa-ch3-p57-105]`_`f] However, `F33f`_`[inheritance`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Inheritance_(object-oriented_programming)]`_`f will be missing. Nonetheless, this shortcoming can be overcome.

Here is a `F33f`_`[C programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_programming_language]`_`f `*header file`* for the `*GRADE abstract datatype`* in a simple school application:

`B100`F9d9/* grade.h */`f`b
`B100`F9d9/* ------- */`f`b
`B100`F9d9`f`b
`B100`F9d9/* Used to allow multiple source files to include */`f`b
`B100`F9d9/* this header file without duplication errors. */`f`b
`B100`F9d9/* ---------------------------------------------- */`f`b
`B100`F9d9#ifndef GRADE_H`f`b
`B100`F9d9#define GRADE_H`f`b
`B100`F9d9`f`b
`B100`F9d9typedef struct`f`b
`B100`F9d9{`f`b
`B100`F9d9 char letter;`f`b
`B100`F9d9} GRADE;`f`b
`B100`F9d9`f`b
`B100`F9d9/* Constructor */`f`b
`B100`F9d9/* ----------- */`f`b
`B100`F9d9GRADE *grade_new( char letter );`f`b
`B100`F9d9`f`b
`B100`F9d9int grade_numeric( char letter );`f`b
`B100`F9d9#endif`f`b

The `B100`F9d9grade_new()`f`b function performs the same algorithm as the C++ `F33f`_`[constructor`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Constructor_(object-oriented_programming)]`_`f operation.

Here is a C programming language `*`F33f`_`[source file`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Source_file]`_`f`* for the `*GRADE abstract datatype`* in a simple school application:

`B100`F9d9/* grade.c */`f`b
`B100`F9d9/* ------- */`f`b
`B100`F9d9#include "grade.h"`f`b
`B100`F9d9`f`b
`B100`F9d9GRADE *grade_new( char letter )`f`b
`B100`F9d9{`f`b
`B100`F9d9 GRADE *grade;`f`b
`B100`F9d9`f`b
`B100`F9d9 /* Allocate heap memory */`f`b
`B100`F9d9 /* -------------------- */`f`b
`B100`F9d9 if ( ! ( grade = calloc( 1, sizeof ( GRADE ) ) ) )`f`b
`B100`F9d9 {`f`b
`B100`F9d9 fprintf(stderr,`f`b
`B100`F9d9 "ERROR in %s/%s/%d: calloc() returned empty.\\n",`f`b
`B100`F9d9 __FILE__,`f`b
`B100`F9d9 __FUNCTION__,`f`b
`B100`F9d9 __LINE__ );`f`b
`B100`F9d9 exit( 1 );`f`b
`B100`F9d9 }`f`b
`B100`F9d9`f`b
`B100`F9d9 grade->letter = letter;`f`b
`B100`F9d9 return grade;`f`b
`B100`F9d9}`f`b
`B100`F9d9`f`b
`B100`F9d9int grade_numeric( char letter )`f`b
`B100`F9d9{`f`b
`B100`F9d9 if ( ( letter == 'A' || letter == 'a' ) )`f`b
`B100`F9d9 return 4;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'B' || letter == 'b' ) )`f`b
`B100`F9d9 return 3;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'C' || letter == 'c' ) )`f`b
`B100`F9d9 return 2;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'D' || letter == 'd' ) )`f`b
`B100`F9d9 return 1;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 if ( ( letter == 'F' || letter == 'f' ) )`f`b
`B100`F9d9 return 0;`f`b
`B100`F9d9 else`f`b
`B100`F9d9 return -1;`f`b
`B100`F9d9}`f`b

In the constructor, the function `B100`F9d9calloc()`f`b is used instead of `B100`F9d9malloc()`f`b because each memory cell will be set to zero.

Here is a C programming language `*header file`* for the `*PERSON abstract datatype`* in a simple school application:

`B100`F9d9/* person.h */`f`b
`B100`F9d9/* -------- */`f`b
`B100`F9d9#ifndef PERSON_H`f`b
`B100`F9d9#define PERSON_H`f`b
`B100`F9d9`f`b
`B100`F9d9typedef struct`f`b
`B100`F9d9{`f`b
`B100`F9d9 char *name;`f`b
`B100`F9d9} PERSON;`f`b
`B100`F9d9`f`b
`B100`F9d9/* Constructor */`f`b
`B100`F9d9/* ----------- */`f`b
`B100`F9d9PERSON *person_new( char *name );`f`b
`B100`F9d9#endif`f`b

Here is a C programming language `*source file`* for the `*PERSON abstract datatype`* in a simple school application:

`B100`F9d9/* person.c */`f`b
`B100`F9d9/* -------- */`f`b
`B100`F9d9#include "person.h"`f`b
`B100`F9d9`f`b
`B100`F9d9PERSON *person_new( char *name )`f`b
`B100`F9d9{`f`b
`B100`F9d9 PERSON *person;`f`b
`B100`F9d9`f`b
`B100`F9d9 if ( ! ( person = calloc( 1, sizeof ( PERSON ) ) ) )`f`b
`B100`F9d9 {`f`b
`B100`F9d9 fprintf(stderr,`f`b
`B100`F9d9 "ERROR in %s/%s/%d: calloc() returned empty.\\n",`f`b
`B100`F9d9 __FILE__,`f`b
`B100`F9d9 __FUNCTION__,`f`b
`B100`F9d9 __LINE__ );`f`b
`B100`F9d9 exit( 1 );`f`b
`B100`F9d9 }`f`b
`B100`F9d9`f`b
`B100`F9d9 person->name = name;`f`b
`B100`F9d9 return person;`f`b
`B100`F9d9}`f`b

Here is a C programming language `*header file`* for the `*STUDENT abstract datatype`* in a simple school application:

`B100`F9d9/* student.h */`f`b
`B100`F9d9/* --------- */`f`b
`B100`F9d9#ifndef STUDENT_H`f`b
`B100`F9d9#define STUDENT_H`f`b
`B100`F9d9`f`b
`B100`F9d9#include "person.h"`f`b
`B100`F9d9#include "grade.h"`f`b
`B100`F9d9`f`b
`B100`F9d9typedef struct`f`b
`B100`F9d9{`f`b
`B100`F9d9 /* A STUDENT is a subset of PERSON. */`f`b
`B100`F9d9 /* -------------------------------- */`f`b
`B100`F9d9 PERSON *person;`f`b
`B100`F9d9`f`b
`B100`F9d9 GRADE *grade;`f`b
`B100`F9d9} STUDENT;`f`b
`B100`F9d9`f`b
`B100`F9d9/* Constructor */`f`b
`B100`F9d9/* ----------- */`f`b
`B100`F9d9STUDENT *student_new( char *name );`f`b
`B100`F9d9#endif`f`b

Here is a C programming language `*source file`* for the `*STUDENT abstract datatype`* in a simple school application:

`B100`F9d9/* student.c */`f`b
`B100`F9d9/* --------- */`f`b
`B100`F9d9#include "student.h"`f`b
`B100`F9d9#include "person.h"`f`b
`B100`F9d9`f`b
`B100`F9d9STUDENT *student_new( char *name )`f`b
`B100`F9d9{`f`b
`B100`F9d9 STUDENT *student;`f`b
`B100`F9d9`f`b
`B100`F9d9 if ( ! ( student = calloc( 1, sizeof ( STUDENT ) ) ) )`f`b
`B100`F9d9 {`f`b
`B100`F9d9 fprintf(stderr,`f`b
`B100`F9d9 "ERROR in %s/%s/%d: calloc() returned empty.\\n",`f`b
`B100`F9d9 __FILE__,`f`b
`B100`F9d9 __FUNCTION__,`f`b
`B100`F9d9 __LINE__ );`f`b
`B100`F9d9 exit( 1 );`f`b
`B100`F9d9 }`f`b
`B100`F9d9`f`b
`B100`F9d9 /* Execute the constructor of the PERSON superclass. */`f`b
`B100`F9d9 /* ------------------------------------------------- */`f`b
`B100`F9d9 student->person = person_new( name );`f`b
`B100`F9d9 return student;`f`b
`B100`F9d9}`f`b

Here is a driver program for demonstration:

`B100`F9d9/* student_dvr.c */`f`b
`B100`F9d9/* ------------- */`f`b
`B100`F9d9#include <stdio.h>`f`b
`B100`F9d9#include "student.h"`f`b
`B100`F9d9`f`b
`B100`F9d9int main( void )`f`b
`B100`F9d9{`f`b
`B100`F9d9 STUDENT *student = student_new( "The Student" );`f`b
`B100`F9d9 student->grade = grade_new( 'a' );`f`b
`B100`F9d9`f`b
`B100`F9d9 printf( "%s: Numeric grade = %d\\n",`f`b
`B100`F9d9 /* Whereas a subset exists, inheritance does not. */`f`b
`B100`F9d9 student->person->name,`f`b
`B100`F9d9 /* Functional programming is executing functions just-in-time (JIT) */`f`b
`B100`F9d9 grade_numeric( student->grade->letter ) );`f`b
`B100`F9d9`f`b
`B100`F9d9 return 0;`f`b
`B100`F9d9}`f`b

Here is a `F33f`_`[makefile`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Makefile]`_`f to compile everything:

`B100`F9d9# makefile`f`b
`B100`F9d9# --------`f`b
`B100`F9d9all: student_dvr`f`b
`B100`F9d9`f`b
`B100`F9d9clean:`f`b
`B100`F9d9 rm student_dvr *.o`f`b
`B100`F9d9`f`b
`B100`F9d9student_dvr: student_dvr.c grade.o student.o person.o`f`b
`B100`F9d9 gcc student_dvr.c grade.o student.o person.o -o student_dvr`f`b
`B100`F9d9`f`b
`B100`F9d9grade.o: grade.c grade.h`f`b
`B100`F9d9 gcc -c grade.c`f`b
`B100`F9d9`f`b
`B100`F9d9student.o: student.c student.h`f`b
`B100`F9d9 gcc -c student.c`f`b
`B100`F9d9`f`b
`B100`F9d9person.o: person.c person.h`f`b
`B100`F9d9 gcc -c person.c`f`b

The formal strategy to build object-oriented objects is to:`:cite-ref-se-ch9-285-106-0[`F5bf`_`[95`#cite-note-se-ch9-285-106]`_`f]

• Identify the objects. Most likely these will be nouns.
• Identify each object's attributes. What helps to describe the object?
• Identify each object's actions. Most likely these will be verbs.
• Identify the relationships from object to object. Most likely these will be verbs.

For example:

• A person is a human identified by a name.
• A grade is an achievement identified by a letter.
• A student is a person who earns a grade.

>>>Syntax and semantics

The `F33f`_`[syntax`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Syntax_(programming_languages)]`_`f of a `*computer program`* is a `F33f`_`[list`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=List]`_`f of `F33f`_`[production rules`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Production_(computer_science)]`_`f which form its `F33f`_`[grammar`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Formal_grammar]`_`f.`:cite-ref-cpl-3rd-ch12-290-quote-107-0[`F5bf`_`[96`#cite-note-cpl-3rd-ch12-290-quote-107]`_`f] A programming language's grammar correctly places its `F33f`_`[declarations`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Declaration_(computer_programming)]`_`f, `F33f`_`[expressions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Expression_(computer_science)]`_`f, and `F33f`_`[statements`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Statement_(computer_science)]`_`f.`:cite-ref-cpl-3rd-ch4-78-quote1-108-0[`F5bf`_`[97`#cite-note-cpl-3rd-ch4-78-quote1-108]`_`f] Complementing the `*syntax`* of a language are its `F33f`_`[semantics`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Semantics_(computer_science)]`_`f. The `*semantics`* describe the meanings attached to various syntactic constructs.`:cite-ref-cpl-3rd-ch12-290-109-0[`F5bf`_`[98`#cite-note-cpl-3rd-ch12-290-109]`_`f] A syntactic construct may need a semantic description because a production rule may have an invalid interpretation.`:cite-ref-cpl-3rd-ch12-294-110-0[`F5bf`_`[99`#cite-note-cpl-3rd-ch12-294-110]`_`f] Also, different languages might have the same syntax; however, their behaviors may be different.

The syntax of a language is formally described by listing the production rules. Whereas the syntax of a `F33f`_`[natural language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Natural_language]`_`f is extremely complicated, a subset of the English language can have this production rule listing:`:cite-ref-discrete-ch10-p615-111-0[`F5bf`_`[100`#cite-note-discrete-ch10-p615-111]`_`f]

1. a `!sentence`! is made up of a `!noun-phrase`! followed by a `!verb-phrase`!;
2. a `!noun-phrase`! is made up of an `!article`! followed by an `!adjective`! followed by a `!noun`!;
3. a `!verb-phrase`! is made up of a `!verb`! followed by a `!noun-phrase`!;
4. an `!article`! is 'the';
5. an `!adjective`! is 'big' or
6. an `!adjective`! is 'small';
7. a `!noun`! is 'cat' or
8. a `!noun`! is 'mouse';
9. a `!verb`! is 'eats';

The words in `!bold-face`! are known as `*non-terminals`*. The words in 'single quotes' are known as `*terminals`*.`:cite-ref-cpl-3rd-ch12-291-112-0[`F5bf`_`[101`#cite-note-cpl-3rd-ch12-291-112]`_`f]

From this production rule listing, complete sentences may be formed using a series of replacements.`:cite-ref-discrete-ch10-p616-113-0[`F5bf`_`[102`#cite-note-discrete-ch10-p616-113]`_`f] The process is to replace `*non-terminals`* with either a valid `*non-terminal`* or a valid `*terminal`*. The replacement process repeats until only `*terminals`* remain. One valid sentence is:

• `!sentence`!
• `!noun-phrase`! `!verb-phrase`!
• `!article`! `!adjective`! `!noun`! `!verb-phrase`!
• `*the`* `!adjective`! `!noun`! `!verb-phrase`!
• `*the`* `*big`* `!noun`! `!verb-phrase`!
• `*the`* `*big`* `*cat`* `!verb-phrase`!
• `*the`* `*big`* `*cat`* `!verb`! `!noun-phrase`!
• `*the`* `*big`* `*cat`* `*eats`* `!noun-phrase`!
• `*the`* `*big`* `*cat`* `*eats`* `!article`! `!adjective`! `!noun`!
• `*the`* `*big`* `*cat`* `*eats`* `*the`* `!adjective`! `!noun`!
• `*the`* `*big`* `*cat`* `*eats`* `*the`* `*small`* `!noun`!
• `*the`* `*big`* `*cat`* `*eats`* `*the`* `*small`* `*mouse`*

However, another combination results in an invalid sentence:

• `*the`* `*small`* `*mouse`* `*eats`* `*the`* `*big`* `*cat`*

Therefore, a `*semantic`* is necessary to correctly describe the meaning of an `*eat`* activity.

One `*production rule`* listing method is called the `F33f`_`[Backus–Naur form`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Backus–Naur_form]`_`f (BNF).`:cite-ref-discrete-ch10-p623-114-0[`F5bf`_`[103`#cite-note-discrete-ch10-p623-114]`_`f] BNF describes the syntax of a language and itself has a `*syntax`*. This recursive definition is an example of a `F33f`_`[metalanguage`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Metalanguage]`_`f.`:cite-ref-cpl-3rd-ch12-290-109-1[`F5bf`_`[98`#cite-note-cpl-3rd-ch12-290-109]`_`f] The `*syntax`* of BNF includes:

• `B100`F9d9::=`f`b which translates to `*is made up of a[n]`* when a non-terminal is to its right. It translates to `*is`* when a terminal is to its right.
• `B100`F9d9|`f`b which translates to `*or`*.
• `B100`F9d9<`f`b and `B100`F9d9>`f`b which surround `!non-terminals`!.

Using BNF, a subset of the English language can have this `*production rule`* listing:

`B100`F9d9<sentence> ::= <noun-phrase><verb-phrase>`f`b
`B100`F9d9<noun-phrase> ::= <article><adjective><noun>`f`b
`B100`F9d9<verb-phrase> ::= <verb><noun-phrase>`f`b
`B100`F9d9<article> ::= the`f`b
`B100`F9d9<adjective> ::= big | small`f`b
`B100`F9d9<noun> ::= cat | mouse`f`b
`B100`F9d9<verb> ::= eats`f`b

Using BNF, a signed-`F33f`_`[integer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Integer_(computer_science)]`_`f has the `*production rule`* listing:`:cite-ref-discrete-ch10-p624-115-0[`F5bf`_`[104`#cite-note-discrete-ch10-p624-115]`_`f]

`B100`F9d9<signed-integer> ::= <sign><integer>`f`b
`B100`F9d9<sign> ::= + | -`f`b
`B100`F9d9<integer> ::= <digit> | <digit><integer>`f`b
`B100`F9d9<digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9`f`b

Notice the recursive production rule:

`B100`F9d9<integer> ::= <digit> | <digit><integer>`f`b

This allows for an infinite number of possibilities. Therefore, a `*semantic`* is necessary to describe a limitation of the number of digits.

Notice the leading zero possibility in the production rules:

`B100`F9d9<integer> ::= <digit> | <digit><integer>`f`b
`B100`F9d9<digit> ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9`f`b

Therefore, a `*semantic`* is necessary to describe that leading zeros need to be ignored.

Two formal methods are available to describe `*semantics`*. They are `F33f`_`[denotational semantics`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Denotational_semantics]`_`f and `F33f`_`[axiomatic semantics`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Axiomatic_semantics]`_`f.`:cite-ref-cpl-3rd-ch12-297-116-0[`F5bf`_`[105`#cite-note-cpl-3rd-ch12-297-116]`_`f]

>>Software engineering and computer programming

`F33f`_`[Software engineering`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_engineering]`_`f is a variety of techniques to produce `F33f`_`[quality`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_quality]`_`f `*computer programs`*.`:cite-ref-se-preface1-117-0[`F5bf`_`[106`#cite-note-se-preface1-117]`_`f] `F33f`_`[Computer programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_programming]`_`f is the process of writing or editing `F33f`_`[source code`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Source_code]`_`f. In a formal environment, a `F33f`_`[systems analyst`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Systems_analyst]`_`f will gather information from managers about all the organization's processes to automate. This professional then prepares a `F33f`_`[detailed plan`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Functional_requirement]`_`f for the new or modified system.`:cite-ref-pis-ch12-p507-118-0[`F5bf`_`[107`#cite-note-pis-ch12-p507-118]`_`f] The plan is analogous to an architect's blueprint.`:cite-ref-pis-ch12-p507-118-1[`F5bf`_`[107`#cite-note-pis-ch12-p507-118]`_`f]

>>>Performance objectives

The systems analyst has the objective to deliver the right information to the right person at the right time.`:cite-ref-pis-ch12-p513-119-0[`F5bf`_`[108`#cite-note-pis-ch12-p513-119]`_`f] The critical factors to achieve this objective are:`:cite-ref-pis-ch12-p513-119-1[`F5bf`_`[108`#cite-note-pis-ch12-p513-119]`_`f]

1. The quality of the output. Is the output useful for decision-making?
2. The accuracy of the output. Does it reflect the true situation?
3. The format of the output. Is the output easily understood?
4. The speed of the output. Time-sensitive information is important when communicating with the customer in real time.

>>>Cost objectives

Achieving performance objectives should be balanced with all of the costs, including:`:cite-ref-pis-ch12-p514-120-0[`F5bf`_`[109`#cite-note-pis-ch12-p514-120]`_`f]

1. Development costs.
2. Uniqueness costs. A reusable system may be expensive. However, it might be preferred over a limited-use system.
3. Hardware costs.
4. Operating costs.

Applying a `F33f`_`[systems development process`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Systems_development_life_cycle]`_`f will mitigate the axiom: the later in the process an error is detected, the more expensive it is to correct.`:cite-ref-pis-ch12-p516-121-0[`F5bf`_`[110`#cite-note-pis-ch12-p516-121]`_`f]

>>>Waterfall model

The `F33f`_`[waterfall model`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Waterfall_model]`_`f is an implementation of a `*systems development process`*.`:cite-ref-se-ch1-8-122-0[`F5bf`_`[111`#cite-note-se-ch1-8-122]`_`f] As the `*waterfall`* label implies, the basic phases overlap each other:`:cite-ref-pis-ch12-p517-123-0[`F5bf`_`[112`#cite-note-pis-ch12-p517-123]`_`f]

1. The `*investigation phase`* is to understand the underlying problem.
2. The `*analysis phase`* is to understand the possible solutions.
3. The `*design phase`* is to `F33f`_`[plan`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_design]`_`f the best solution.
4. The `*implementation phase`* is to program the best solution.
5. The `*maintenance phase`* lasts throughout the life of the system. Changes to the system after it is deployed may be necessary.`:cite-ref-se-ch11-345-124-0[`F5bf`_`[113`#cite-note-se-ch11-345-124]`_`f] Faults may exist, including specification faults, design faults, or coding faults. Improvements may be necessary. Adaption may be necessary to react to a changing environment.

>>>Computer programmer

A `F33f`_`[computer programmer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_programmer]`_`f is a specialist responsible for writing or modifying the source code to implement the detailed plan.`:cite-ref-pis-ch12-p507-118-2[`F5bf`_`[107`#cite-note-pis-ch12-p507-118]`_`f] A programming team is likely to be needed because most systems are too large to be completed by a single programmer.`:cite-ref-se-ch10-319-125-0[`F5bf`_`[114`#cite-note-se-ch10-319-125]`_`f] However, adding programmers to a project may not shorten the completion time. Instead, it may lower the quality of the system.`:cite-ref-se-ch10-319-125-1[`F5bf`_`[114`#cite-note-se-ch10-319-125]`_`f] To be effective, program modules need to be defined and distributed to team members.`:cite-ref-se-ch10-319-125-2[`F5bf`_`[114`#cite-note-se-ch10-319-125]`_`f] Also, team members must interact with one another in a meaningful and effective way.`:cite-ref-se-ch10-319-125-3[`F5bf`_`[114`#cite-note-se-ch10-319-125]`_`f]

Computer programmers may be `F33f`_`[programming in the small`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_in_the_large_and_programming_in_the_small]`_`f: programming within a single module.`:cite-ref-se-ch10-331-126-0[`F5bf`_`[115`#cite-note-se-ch10-331-126]`_`f] Chances are a module will execute modules located in other source code files. Therefore, computer programmers may be `F33f`_`[programming in the large`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Programming_in_the_large]`_`f: programming modules so they will effectively couple with each other.`:cite-ref-se-ch10-331-126-1[`F5bf`_`[115`#cite-note-se-ch10-331-126]`_`f] Programming-in-the-large includes contributing to the `F33f`_`[application programming interface`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Application_programming_interface]`_`f (API).

>>>Program modules

`F33f`_`[Modular programming`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Modular_programming]`_`f is a technique to refine `*imperative language`* programs. Refined programs may reduce the software size, separate responsibilities, and thereby mitigate `F33f`_`[software aging`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_aging]`_`f. A `*program module`* is a sequence of statements that are bounded within a `F33f`_`[block`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Block_(programming)]`_`f and together identified by a name.`:cite-ref-se-ch8-216-127-0[`F5bf`_`[116`#cite-note-se-ch8-216-127]`_`f] Modules have a `*function`*, `*context`*, and `*logic`*:`:cite-ref-se-ch8-219-128-0[`F5bf`_`[117`#cite-note-se-ch8-219-128]`_`f]

• The `*function`* of a module is what it does.
• The `*context`* of a module are the elements being performed upon.
• The `*logic`* of a module is how it performs the function.

The module's name should be derived first by its `*function`*, then by its `*context`*. Its `*logic`* should not be part of the name.`:cite-ref-se-ch8-219-128-1[`F5bf`_`[117`#cite-note-se-ch8-219-128]`_`f] For example, `B100`F9d9function compute_square_root( x )`f`b or `B100`F9d9function compute_square_root_integer( i : integer )`f`b are appropriate module names. However, `B100`F9d9function compute_square_root_by_division( x )`f`b is not.

The degree of interaction `*within`* a module is its level of `F33f`_`[cohesion`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Cohesion_(computer_science)]`_`f.`:cite-ref-se-ch8-219-128-2[`F5bf`_`[117`#cite-note-se-ch8-219-128]`_`f] `*Cohesion`* is a judgment of the relationship between a module's name and its `*function`*. The degree of interaction `*between`* modules is the level of `F33f`_`[coupling`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Coupling_(computer_science)]`_`f.`:cite-ref-se-ch8-226-129-0[`F5bf`_`[118`#cite-note-se-ch8-226-129]`_`f] `*Coupling`* is a judgement of the relationship between a module's `*context`* and the elements being performed upon.

>>>Cohesion

The levels of cohesion from worst to best are:`:cite-ref-se-ch8-220-130-0[`F5bf`_`[119`#cite-note-se-ch8-220-130]`_`f]

• `*Coincidental Cohesion`*: A module has coincidental cohesion if it performs multiple functions, and the functions are completely unrelated. For example, `B100`F9d9function read_sales_record_print_next_line_convert_to_float()`f`b. Coincidental cohesion occurs in practice if management enforces silly rules. For example, "Every module will have between 35 and 50 executable statements."`:cite-ref-se-ch8-220-130-1[`F5bf`_`[119`#cite-note-se-ch8-220-130]`_`f]
• Logical Cohesion: A module has logical cohesion if it has available a series of functions, but only one of them is executed. For example, `B100`F9d9function perform_arithmetic( perform_addition, a, b )`f`b.
• `*Temporal Cohesion`*: A module has temporal cohesion if it performs functions related to time. One example, `B100`F9d9function initialize_variables_and_open_files()`f`b. Another example, `B100`F9d9stage_one()`f`b, `B100`F9d9stage_two()`f`b, ...
• `*Procedural Cohesion`*: A module has procedural cohesion if it performs multiple loosely related functions. For example, `B100`F9d9function read_part_number_update_employee_record()`f`b.
• `*Communicational Cohesion`*: A module has communicational cohesion if it performs multiple closely related functions. For example, `B100`F9d9function read_part_number_update_sales_record()`f`b.
• `*Informational Cohesion`*: A module has informational cohesion if it performs multiple functions, but each function has its own entry and exit points. Moreover, the functions share the same data structure. Object-oriented classes work at this level.
• `*Functional Cohesion`*: a module has functional cohesion if it achieves a single goal working only on local variables. Moreover, it may be reusable in other contexts.

>>>Coupling

The levels of coupling from worst to best are:`:cite-ref-se-ch8-226-129-1[`F5bf`_`[118`#cite-note-se-ch8-226-129]`_`f]

• `*Content Coupling`*: A module has content coupling if it modifies a `F33f`_`[local variable`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Local_variable]`_`f of another function. COBOL used to do this with the `*alter`* verb.
• `*Common Coupling`*: A module has common coupling if it modifies a global variable.
• `*Control Coupling`*: A module has control coupling if another module can modify its `F33f`_`[control flow`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Control_flow]`_`f. For example, `B100`F9d9perform_arithmetic( perform_addition, a, b )`f`b. Instead, control should be on the makeup of the returned object.
• `*Stamp Coupling`*: A module has stamp coupling if an element of a data structure passed as a parameter is modified. Object-oriented classes work at this level.
• `* Data Coupling`*: A module has data coupling if all of its input parameters are needed and none of them are modified. Moreover, the result of the function is returned as a single object.

>>>Data flow analysis

`*Data flow analysis`* is a design method used to achieve modules of `*functional cohesion`* and `*data coupling`*.`:cite-ref-se-ch9-258-131-0[`F5bf`_`[120`#cite-note-se-ch9-258-131]`_`f] The input to the method is a `F33f`_`[data-flow diagram`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Data-flow_diagram]`_`f. A data-flow diagram is a set of ovals representing modules. Each module's name is displayed inside its oval. Modules may be at the executable level or the function level.

The diagram also has arrows connecting modules to each other. Arrows pointing into modules represent a set of inputs. Each module should have only one arrow pointing out from it to represent its single output object. (Optionally, an additional exception arrow points out.) A `F33f`_`[daisy chain`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Daisy_chain_(electrical_engineering)]`_`f of ovals will convey an entire `F33f`_`[algorithm`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Algorithm]`_`f. The input modules should start the diagram. The input modules should connect to the transform modules. The transform modules should connect to the output modules.`:cite-ref-se-ch9-259-132-0[`F5bf`_`[121`#cite-note-se-ch9-259-132]`_`f]

>>Functional categories

`*Computer programs`* may be categorized along functional lines. The main functional categories are `F33f`_`[application software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Application_software]`_`f and `F33f`_`[system software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=System_software]`_`f. System software includes the `F33f`_`[operating system`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operating_system]`_`f, which couples `F33f`_`[computer hardware`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_hardware]`_`f with application software.`:cite-ref-osc-overview-133-0[`F5bf`_`[122`#cite-note-osc-overview-133]`_`f] The purpose of the operating system is to provide an environment where application software executes in a convenient and efficient manner.`:cite-ref-osc-overview-133-1[`F5bf`_`[122`#cite-note-osc-overview-133]`_`f] Both application software and system software execute `F33f`_`[utility programs`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Utility_software]`_`f. At the hardware level, a `F33f`_`[microcode program`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microcode]`_`f controls the circuits throughout the `F33f`_`[central processing unit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Central_processing_unit]`_`f.

>>>Application software

Application software is the key to unlocking the potential of the computer system.`:cite-ref-pis-ch4-p147-quote1-134-0[`F5bf`_`[123`#cite-note-pis-ch4-p147-quote1-134]`_`f] `F33f`_`[Enterprise application software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Enterprise_application_software]`_`f bundles accounting, personnel, customer, and vendor applications. Examples include `F33f`_`[enterprise resource planning`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Enterprise_resource_planning]`_`f, `F33f`_`[customer relationship management`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Customer_relationship_management]`_`f, and `F33f`_`[supply chain management software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Supply_chain_management_software]`_`f.

Enterprise applications may be developed in-house as a one-of-a-kind `F33f`_`[proprietary software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Proprietary_software]`_`f.`:cite-ref-pis-ch4-p148-135-0[`F5bf`_`[124`#cite-note-pis-ch4-p148-135]`_`f] Alternatively, they may be purchased as `F33f`_`[off-the-shelf software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Off-the-shelf_software]`_`f. Purchased software may be modified to provide `F33f`_`[custom software`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Custom_software]`_`f. If the application is customized, then either the company's resources are used or the resources are outsourced. Outsourced software development may be from the original software vendor or a third-party developer.`:cite-ref-pis-ch4-p147-quote2-136-0[`F5bf`_`[125`#cite-note-pis-ch4-p147-quote2-136]`_`f]

The potential advantages of in-house software are features and reports may be developed exactly to specification.`:cite-ref-pis-ch4-p148-quote1-137-0[`F5bf`_`[126`#cite-note-pis-ch4-p148-quote1-137]`_`f] Management may also be involved in the development process and offer a level of control.`:cite-ref-pis-ch4-p148-quote2-138-0[`F5bf`_`[127`#cite-note-pis-ch4-p148-quote2-138]`_`f] Management may decide to counteract a competitor's new initiative or implement a customer or vendor requirement.`:cite-ref-pis-ch4-p148-quote3-139-0[`F5bf`_`[128`#cite-note-pis-ch4-p148-quote3-139]`_`f] A merger or acquisition may necessitate enterprise software changes. The potential disadvantages of in-house software are time and resource costs may be extensive.`:cite-ref-pis-ch4-p148-135-1[`F5bf`_`[124`#cite-note-pis-ch4-p148-135]`_`f] Furthermore, risks concerning features and performance may be looming.

The potential advantages of off-the-shelf software are upfront costs are identifiable, the basic needs should be fulfilled, and its performance and reliability have a track record.`:cite-ref-pis-ch4-p148-135-2[`F5bf`_`[124`#cite-note-pis-ch4-p148-135]`_`f] The potential disadvantages of off-the-shelf software are it may have unnecessary features that confuse end users, it may lack features the enterprise needs, and the data flow may not match the enterprise's work processes.`:cite-ref-pis-ch4-p148-135-3[`F5bf`_`[124`#cite-note-pis-ch4-p148-135]`_`f]

>>>>Application service provider

One approach to economically obtaining a customized enterprise application is through an `F33f`_`[application service provider`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Application_service_provider]`_`f.`:cite-ref-pis-ch4-p149-140-0[`F5bf`_`[129`#cite-note-pis-ch4-p149-140]`_`f] Specialty companies provide hardware, custom software, and end-user support. They may speed the development of new applications because they possess skilled information system staff. The biggest advantage is it frees in-house resources from staffing and managing complex computer projects.`:cite-ref-pis-ch4-p149-140-1[`F5bf`_`[129`#cite-note-pis-ch4-p149-140]`_`f] Many application service providers target small, fast-growing companies with limited information system resources.`:cite-ref-pis-ch4-p149-140-2[`F5bf`_`[129`#cite-note-pis-ch4-p149-140]`_`f] On the other hand, larger companies with major systems will likely have their technical infrastructure in place. One risk is having to trust an external organization with sensitive information. Another risk is having to trust the provider's infrastructure reliability.`:cite-ref-pis-ch4-p149-140-3[`F5bf`_`[129`#cite-note-pis-ch4-p149-140]`_`f]

>>>Operating system

An `F33f`_`[operating system`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operating_system]`_`f is the low-level software that supports a computer's basic functions, such as `F33f`_`[scheduling`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Scheduling_(computing)]`_`f `F33f`_`[processes`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Process_(computing)]`_`f and controlling `F33f`_`[peripherals`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Peripheral]`_`f.`:cite-ref-osc-overview-133-2[`F5bf`_`[122`#cite-note-osc-overview-133]`_`f]

In the 1950s, the programmer, who was also the operator, would write a program and run it. After the program finished executing, the output may have been printed, or it may have been punched onto paper tape or cards for later processing.`:cite-ref-osc-ch1-p6-31-2[`F5bf`_`[29`#cite-note-osc-ch1-p6-31]`_`f] More often than not the program did not work. The programmer then looked at the console lights and fiddled with the console switches. If less fortunate, a memory printout was made for further study. In the 1960s, programmers reduced the amount of wasted time by automating the operator's job. A program called an `*operating system`* was kept in the computer at all times.`:cite-ref-sco-ch1-p11-141-0[`F5bf`_`[130`#cite-note-sco-ch1-p11-141]`_`f]

The term `*operating system`* may refer to two levels of software.`:cite-ref-lpi-ch2-p21-142-0[`F5bf`_`[131`#cite-note-lpi-ch2-p21-142]`_`f] The operating system may refer to the `F33f`_`[kernel program`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Kernel_(operating_system)]`_`f that manages the `F33f`_`[processes`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Process_(computing)]`_`f, `F33f`_`[memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_memory]`_`f, and `F33f`_`[devices`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Peripheral]`_`f. More broadly, the operating system may refer to the entire package of the central software. The package includes a kernel program, `F33f`_`[command-line interpreter`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Command-line_interface]`_`f, `F33f`_`[graphical user interface`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Graphical_user_interface]`_`f, `F33f`_`[utility programs`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Utility_software]`_`f, and `F33f`_`[editor`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Source-code_editor]`_`f.`:cite-ref-lpi-ch2-p21-142-1[`F5bf`_`[131`#cite-note-lpi-ch2-p21-142]`_`f]

>>>>Kernel Program

The kernel's main purpose is to manage the limited resources of a computer:

• The kernel program should perform `F33f`_`[process scheduling`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Process_scheduling]`_`f,`:cite-ref-lpi-ch2-p22-143-0[`F5bf`_`[132`#cite-note-lpi-ch2-p22-143]`_`f] which is also known as a `F33f`_`[context switch`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Context_switch]`_`f. The kernel creates a `F33f`_`[process control block`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Process_control_block]`_`f when a `*computer program`* is `F33f`_`[selected for execution`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Loader_(computing)]`_`f. However, an executing program gets exclusive access to the `F33f`_`[central processing unit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Central_processing_unit]`_`f only for a `F33f`_`[time slice`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Preemption_(computing)]`_`f. To provide each user with the `F33f`_`[appearance of continuous access`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Time-sharing]`_`f, the kernel quickly `F33f`_`[preempts`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Preemption_(computing)]`_`f each process control block to execute another one. The goal for `F33f`_`[system developers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Systems_programming]`_`f is to minimize `F33f`_`[dispatch latency`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Dispatch_latency]`_`f.

• The kernel program should perform `F33f`_`[memory management`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_management]`_`f.

When the kernel initially `F33f`_`[loads`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Loader_(computing)]`_`f an executable into memory, it divides the address space logically into `F33f`_`[regions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Region-based_memory_management]`_`f.`:cite-ref-duos-ch6-p152-144-0[`F5bf`_`[133`#cite-note-duos-ch6-p152-144]`_`f] The kernel maintains a master-region table and many per-process-region (pregion) tables—one for each running `F33f`_`[process`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Process_(computing)]`_`f.`:cite-ref-duos-ch6-p152-144-1[`F5bf`_`[133`#cite-note-duos-ch6-p152-144]`_`f] These tables constitute the `F33f`_`[virtual address space`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Virtual_address_space]`_`f. The master-region table is used to determine where its contents are located in `F33f`_`[physical memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Physical_memory]`_`f. The pregion tables allow each process to have its own program (text) pregion, data pregion, and stack pregion. The program pregion stores machine instructions. Since machine instructions do not change, the program pregion may be shared by many processes of the same executable.`:cite-ref-duos-ch6-p152-144-2[`F5bf`_`[133`#cite-note-duos-ch6-p152-144]`_`f] To save time and memory, the kernel may load only blocks of execution instructions from the disk drive, not the entire execution file completely.`:cite-ref-lpi-ch2-p22-143-1[`F5bf`_`[132`#cite-note-lpi-ch2-p22-143]`_`f] The kernel is responsible for translating virtual addresses into `F33f`_`[physical addresses`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Physical_address]`_`f. The kernel may request data from the `F33f`_`[memory controller`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_controller]`_`f and, instead, receive a `F33f`_`[page fault`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Page_fault]`_`f.`:cite-ref-sco6th-ch6-p443-145-0[`F5bf`_`[134`#cite-note-sco6th-ch6-p443-145]`_`f] If so, the kernel accesses the `F33f`_`[memory management unit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_management_unit]`_`f to populate the physical data region and translate the address.`:cite-ref-esa-ch1-p8-146-0[`F5bf`_`[135`#cite-note-esa-ch1-p8-146]`_`f] The kernel allocates memory from the `*heap`* upon request by a process.`:cite-ref-cpl-ch8-p187-74-1[`F5bf`_`[64`#cite-note-cpl-ch8-p187-74]`_`f] When the process is finished with the memory, the process may request for it to be `F33f`_`[freed`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Manual_memory_management]`_`f. If the process exits without requesting all allocated memory to be freed, then the kernel performs `F33f`_`[garbage collection`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Garbage_collection_(computer_science)]`_`f to free the memory. The kernel also ensures that a process only accesses its own memory, and not that of the kernel or other processes.`:cite-ref-lpi-ch2-p22-143-2[`F5bf`_`[132`#cite-note-lpi-ch2-p22-143]`_`f]

• The kernel program should perform `F33f`_`[file system management`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=File_system]`_`f.`:cite-ref-lpi-ch2-p22-143-3[`F5bf`_`[132`#cite-note-lpi-ch2-p22-143]`_`f] The kernel has instructions to create, retrieve, update, and delete files.
• The kernel program should perform `F33f`_`[device management`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Peripheral]`_`f.`:cite-ref-lpi-ch2-p22-143-4[`F5bf`_`[132`#cite-note-lpi-ch2-p22-143]`_`f] The kernel provides programs to standardize and simplify the interface to the mouse, keyboard, disk drives, printers, and other devices. Moreover, the kernel should arbitrate access to a device if two processes request it at the same time.
• The kernel program should perform `F33f`_`[network management`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Network_management]`_`f.`:cite-ref-lpi-ch2-p23-147-0[`F5bf`_`[136`#cite-note-lpi-ch2-p23-147]`_`f] The kernel transmits and receives `F33f`_`[packets`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Network_packet]`_`f on behalf of processes. One key service is to find an efficient `F33f`_`[route`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Routing_table]`_`f to the target system.
• The kernel program should provide `F33f`_`[system level functions`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=System_calls]`_`f for programmers to use.`:cite-ref-upe-ch7-p201-148-0[`F5bf`_`[137`#cite-note-upe-ch7-p201-148]`_`f]

• Programmers access files through a relatively simple interface that in turn executes a relatively complicated low-level I/O interface. The low-level interface includes file creation, `F33f`_`[file descriptors`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=File_descriptor]`_`f, file seeking, physical reading, and physical writing.
• Programmers create processes through a relatively simple interface that in turn executes a relatively complicated low-level interface.
• Programmers perform date/time arithmetic through a relatively simple interface that in turn executes a relatively complicated low-level time interface.`:cite-ref-lpi-ch10-p187-149-0[`F5bf`_`[138`#cite-note-lpi-ch10-p187-149]`_`f]

• The kernel program should provide a `F33f`_`[communication channel`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Inter-process_communication]`_`f between executing processes.`:cite-ref-usp-ch6-p121-150-0[`F5bf`_`[139`#cite-note-usp-ch6-p121-150]`_`f] For a large software system, it may be desirable to `F33f`_`[engineer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Software_engineering]`_`f the system into smaller processes. Processes may communicate with one another by sending and receiving `F33f`_`[signals`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Signal_(IPC)]`_`f.

Originally, operating systems were programmed in `F33f`_`[assembly`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembly_language]`_`f; however, modern operating systems are typically written in higher-level languages like `F33f`_`[C`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=C_(programming_language)]`_`f, `F33f`_`[Objective-C`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Objective-C]`_`f, and `F33f`_`[Swift`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Swift_(programming_language)]`_`f.`:cite-ref-151[`F5bf`_`[l`#cite-note-151]`_`f]

>>>Utility program

A `F33f`_`[utility program`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Utility_program]`_`f is designed to aid system administration and software execution. Operating systems execute hardware utility programs to check the status of disk drives, memory, speakers, and printers.`:cite-ref-pis-ch4-p145-152-0[`F5bf`_`[140`#cite-note-pis-ch4-p145-152]`_`f] A utility program may optimize the placement of a file on a crowded disk. System utility programs monitor hardware and network performance. When a metric is outside an acceptable range, a trigger alert is generated.`:cite-ref-pis-ch4-p146-153-0[`F5bf`_`[141`#cite-note-pis-ch4-p146-153]`_`f]

Utility programs include compression programs so data files are stored on less disk space.`:cite-ref-pis-ch4-p145-152-1[`F5bf`_`[140`#cite-note-pis-ch4-p145-152]`_`f] Compressed programs also save time when data files are transmitted over the network.`:cite-ref-pis-ch4-p145-152-2[`F5bf`_`[140`#cite-note-pis-ch4-p145-152]`_`f] Utility programs can sort and merge data sets.`:cite-ref-pis-ch4-p146-153-1[`F5bf`_`[141`#cite-note-pis-ch4-p146-153]`_`f] Utility programs detect `F33f`_`[computer viruses`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_virus]`_`f.`:cite-ref-pis-ch4-p146-153-2[`F5bf`_`[141`#cite-note-pis-ch4-p146-153]`_`f]

>>>Microcode program

A `F33f`_`[microcode program`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microcode]`_`f is the bottom-level interpreter that controls the `F33f`_`[data path`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Data_path]`_`f of software-driven computers.`:cite-ref-sco6th-ch1-p6-154-0[`F5bf`_`[142`#cite-note-sco6th-ch1-p6-154]`_`f] (Advances in `F33f`_`[hardware`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Random_logic]`_`f have migrated these operations to `F33f`_`[hardware execution circuits`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Control_unit]`_`f.)`:cite-ref-sco6th-ch1-p6-154-1[`F5bf`_`[142`#cite-note-sco6th-ch1-p6-154]`_`f] Microcode instructions allow the programmer to more easily implement the `F33f`_`[digital logic level`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Logic_level]`_`f`:cite-ref-sco6th-ch4-p243-155-0[`F5bf`_`[143`#cite-note-sco6th-ch4-p243-155]`_`f]—the computer's real hardware. The digital logic level is the boundary between `F33f`_`[computer science`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_science]`_`f and `F33f`_`[computer engineering`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_engineering]`_`f.`:cite-ref-sco6th-ch3-p147-156-0[`F5bf`_`[144`#cite-note-sco6th-ch3-p147-156]`_`f]

A `F33f`_`[logic gate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Logic_gate]`_`f is a tiny `F33f`_`[transistor`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Field-effect_transistor]`_`f that can return one of two signals: on or off.`:cite-ref-sco6th-ch3-p148-157-0[`F5bf`_`[145`#cite-note-sco6th-ch3-p148-157]`_`f]

• Having one transistor forms the `F33f`_`[NOT gate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=NOT_gate]`_`f.
• Connecting two transistors in series forms the `F33f`_`[NAND gate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=NAND_gate]`_`f.
• Connecting two transistors in parallel forms the `F33f`_`[NOR gate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=NOR_gate]`_`f.
• Connecting a NOT gate to a NAND gate forms the `F33f`_`[AND gate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=AND_gate]`_`f.
• Connecting a NOT gate to a NOR gate forms the `F33f`_`[OR gate`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=OR_gate]`_`f.

These five gates form the building blocks of `F33f`_`[binary algebra`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Boolean_algebra]`_`f—the digital logic functions of the computer.

Microcode instructions are `F33f`_`[mnemonics`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Assembly_language]`_`f programmers may use to execute digital logic functions instead of forming them in binary algebra. They are stored in a `F33f`_`[central processing unit's`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Central_processing_unit]`_`f (CPU) `F33f`_`[control store`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Control_store]`_`f.`:cite-ref-sco6th-ch4-p253-158-0[`F5bf`_`[146`#cite-note-sco6th-ch4-p253-158]`_`f] These hardware-level instructions move data throughout the `F33f`_`[data path`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Data_path]`_`f.

The micro-instruction cycle begins when the `F33f`_`[microsequencer`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microsequencer]`_`f uses its microprogram counter to `*fetch`* the next `F33f`_`[machine instruction`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Machine_instruction]`_`f from `F33f`_`[random-access memory`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Random-access_memory]`_`f.`:cite-ref-sco6th-ch4-p255-159-0[`F5bf`_`[147`#cite-note-sco6th-ch4-p255-159]`_`f] The next step is to `*decode`* the machine instruction by selecting the proper output line to the hardware module.`:cite-ref-sco6th-ch3-p161-160-0[`F5bf`_`[148`#cite-note-sco6th-ch3-p161-160]`_`f] The final step is to `*execute`* the instruction using the hardware module's set of gates.

Instructions to perform arithmetic are passed through an `F33f`_`[arithmetic logic unit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Arithmetic_logic_unit]`_`f (ALU).`:cite-ref-sco6th-ch3-p166-161-0[`F5bf`_`[149`#cite-note-sco6th-ch3-p166-161]`_`f] The ALU has circuits to perform elementary operations to add, shift, and compare integers. By combining and looping the elementary operations through the ALU, the CPU performs its complex arithmetic.

Microcode instructions move data between the CPU and the `F33f`_`[memory controller`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_controller]`_`f. Memory controller microcode instructions manipulate two `F33f`_`[registers`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Processor_register]`_`f. The `F33f`_`[memory address register`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_address_register]`_`f is used to access each memory cell's address. The `F33f`_`[memory data register`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_data_register]`_`f is used to set and read each cell's contents.`:cite-ref-sco6th-ch4-p249-162-0[`F5bf`_`[150`#cite-note-sco6th-ch4-p249-162]`_`f]

>>Notes

`:cite-note-1`!a.`! `F0af`_`[↑`#cite-ref-1]`_`f The `F33f`_`[Prolog`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Prolog]`_`f language allows for a database of facts and rules to be entered in any order. However, a question about a database must be at the very end.
`:cite-note-7`!b.`! `F0af`_`[↑`#cite-ref-7]`_`f An executable has each `F33f`_`[machine instruction`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Machine_instruction]`_`f ready for the `F33f`_`[CPU`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=CPU]`_`f.
`:cite-note-40`!c.`! `F0af`_`[↑`#cite-ref-40]`_`f For more information, visit `F33f`_`[X86 assembly language#Instruction types`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=X86_assembly_language]`_`f.
`:cite-note-41`!d.`! `F0af`_`[↑`#cite-ref-41]`_`f introduced in 1999
`:cite-note-50`!e.`! `F0af`_`[↑`#cite-ref-50]`_`f Whereas this is a decimal number, PDP-11 code is always expressed as `F33f`_`[octal`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Octal]`_`f.
`:cite-note-57`!f.`! `F0af`_`[↑`#cite-ref-57]`_`f `F33f`_`[Operators`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operators_in_C_and_C++]`_`f like `B100`F9d9x++`f`b will usually compile to a single instruction.
`:cite-note-64`!g.`! `F0af`_`[↑`#cite-ref-64]`_`f The line numbers were typically incremented by 10 to leave room if additional statements were added later.
`:cite-note-68`!h.`! `F0af`_`[↑`#cite-ref-68]`_`f This function could be written more concisely as `B100`F9d9int increment_counter(){ static int counter; return ++counter;}`f`b. 1) Static variables are automatically initialized to zero. 2) `B100`F9d9++counter`f`b is a prefix `F33f`_`[increment operator`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Increment_operator]`_`f.
`:cite-note-70`!i.`! `F0af`_`[↑`#cite-ref-70]`_`f This is despite the metaphor of a `*stack,`* which normally grows from bottom to top.
`:cite-note-73`!j.`! `F0af`_`[↑`#cite-ref-73]`_`f `*C`* also provides the `B100`F9d9calloc()`f`b function to allocate heap memory. It provides two additional services: 1) It allows the programmer to create an `F33f`_`[array`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Array_(data_structure)]`_`f of arbitrary size. 2) It sets each `F33f`_`[memory cell`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Memory_cell_(computing)]`_`f to zero.
`:cite-note-75`!k.`! `F0af`_`[↑`#cite-ref-75]`_`f For `F33f`_`[string`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=String_(computer_science)]`_`f variables, `*C`* provides the `B100`F9d9strdup()`f`b function. It executes both the allocation function and the copy function.
`:cite-note-151`!l.`! `F0af`_`[↑`#cite-ref-151]`_`f The `F33f`_`[UNIX`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=UNIX]`_`f operating system was written in C, `F33f`_`[macOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=MacOS]`_`f was written in Objective-C, and Swift replaced Objective-C.

>>References

`:cite-note-iso-2020-2`!1.`! `F0af`_`[↑`#cite-ref-iso-2020-2-0]`_`f "ISO/IEC 2382:2015". `*ISO`*. 2020-09-03. Archived from the original on 2016-06-17. Retrieved 2022-05-26. [Software includes] all or part of the programs, procedures, rules, and associated documentation of an information processing system.
`:cite-note-cpl-3rd-ch1-7-quoted-3`!2.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch1-7-quoted-3-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 7. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9. An alternative to compiling a source program is to use an interpreter. An interpreter can directly execute a source program[.]
`:cite-note-osc-ch4-p98-4`!3.`! `F0af`_`[↑`#cite-ref-osc-ch4-p98-4-0]`_`f `:citerefsilberschatz1994`aSilberschatz, Abraham (1994). `*Operating System Concepts, Fourth Edition`*. Addison-Wesley. p. 98. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-201-50480-4.
`:cite-note-sco-ch2-p32-5`!4.`! `F0af`_`[↑`#cite-ref-sco-ch2-p32-5-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 32. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-cpl-3rd-ch1-7-6`!5.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch1-7-6-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 7. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-30-quote1-8`!6.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-30-quote1-8-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 30. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9. Their intention was to produce a language that was very simple for students to learn[.]
`:cite-note-cpl-3rd-ch2-31-9`!7.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-31-9-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 31. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-30-10`!8.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-30-10-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 30. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-30-quote2-11`!9.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-30-quote2-11-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 30. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9. The idea was that students could be merely casual users or go on from Basic to more sophisticated and powerful languages[.]
`:cite-note-eniac-ch1-p16-12`!10.`! `F0af`_`[↑`#cite-ref-eniac-ch1-p16-12-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 16. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-sco-ch1-p14-13`!11.`! `F0af`_`[↑`#cite-ref-sco-ch1-p14-13-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 14. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-14`!12.`! `F0af`_`[↑`#cite-ref-14]`_`f `:citerefbromley1998`a`F33f`_`[Bromley, Allan G.`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Allan_G._Bromley]`_`f (1998). "Charles Babbage's Analytical Engine, 1838" (PDF). `*`F33f`_`[IEEE Annals of the History of Computing`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IEEE_Annals_of_the_History_of_Computing]`_`f`*. `!20`! (4): 29–45. `F33f`_`[doi`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Doi_(identifier)]`_`f:10.1109/85.728228. `F33f`_`[S2CID`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=S2CID_(identifier)]`_`f 2285332. Archived (PDF) from the original on 2016-03-04. Retrieved 2015-10-30.
`:cite-note-sco-ch1-p15-15`!13.`! `F0af`_`[↑`#cite-ref-sco-ch1-p15-15-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 15. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-16`!14.`! `F0af`_`[↑`#cite-ref-16]`_`f `:citerefj-fuegij-francis2003`aJ. Fuegi; J. Francis (October–December 2003), "Lovelace & Babbage and the creation of the 1843 'notes'", `*Annals of the History of Computing`*, `!25`! (4): 16, 19, 25, `F33f`_`[doi`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Doi_(identifier)]`_`f:10.1109/MAHC.2003.1253887
`:cite-note-discrete-ch10-p654-17`!15.`! `F0af`_`[↑`#cite-ref-discrete-ch10-p654-17-0]`_`f `:citerefrosen1991`aRosen, Kenneth H. (1991). `*Discrete Mathematics and Its Applications`*. McGraw-Hill, Inc. p. 654. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-07-053744-6. Turing machines can model all the computations that can be performed on a computing machine.
`:cite-note-formal-languages-ch9-p234-18`!16.`! `F0af`_`[↑`#cite-ref-formal-languages-ch9-p234-18-0]`_`f `:citereflinz1990`aLinz, Peter (1990). `*An Introduction to Formal Languages and Automata`*. D. C. Heath and Company. p. 234. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-669-17342-0.
`:cite-note-formal-languages-ch9-p243-19`!17.`! `F0af`_`[↑`#cite-ref-formal-languages-ch9-p243-19-0]`_`f `:citereflinz1990`aLinz, Peter (1990). `*An Introduction to Formal Languages and Automata`*. D. C. Heath and Company. p. 243. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-669-17342-0. [A]ll the common mathematical functions, no matter how complicated, are Turing-computable.
`:cite-note-eniac-ch5-p102-20`!18.`! `F0af`_`[↑`#cite-ref-eniac-ch5-p102-20-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 102. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-eniac-ch5-p94-21`!19.`! `F0af`_`[↑`#cite-ref-eniac-ch5-p94-21-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 94. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-eniac-ch5-p107-22`!20.`! `F0af`_`[↑`#cite-ref-eniac-ch5-p107-22-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 107. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-eniac-ch6-p120-23`!21.`! `F0af`_`[↑`#cite-ref-eniac-ch6-p120-23-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 120. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-eniac-ch6-p118-24`!22.`! `F0af`_`[↑`#cite-ref-eniac-ch6-p118-24-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 118. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-eniac-ch6-p119-25`!23.`! `F0af`_`[↑`#cite-ref-eniac-ch6-p119-25-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 119. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-eniac-ch6-p123-26`!24.`! `F0af`_`[↑`#cite-ref-eniac-ch6-p123-26-0]`_`f `:citerefmccartney1999`aMcCartney, Scott (1999). `*ENIAC – The Triumphs and Tragedies of the World's First Computer`*. Walker and Company. p. 123. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-8027-1348-3.
`:cite-note-27`!25.`! `F0af`_`[↑`#cite-ref-27]`_`f `:citerefhuskey2003`aHuskey, Harry D. (2003-01-01), "EDVAC", `*Encyclopedia of Computer Science`*, GBR: John Wiley and Sons Ltd., pp. 626–628, `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-470-86412-8, retrieved 2025-04-25
`:cite-note-sco-ch1-p21-28`!26.`! `F0af`_`[↑`#cite-ref-sco-ch1-p21-28-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 21. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-cpl-3rd-ch2-27-29`!27.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-27-29-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 27. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-29-30`!28.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-29-30-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 29. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-osc-ch1-p6-31`!29.`! `F0af`_`[↑`#cite-ref-osc-ch1-p6-31-0]`_`f `:citerefsilberschatz1994`aSilberschatz, Abraham (1994). `*Operating System Concepts, Fourth Edition`*. Addison-Wesley. p. 6. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-201-50480-4.
`:cite-note-digital-age-32`!30.`! `F0af`_`[↑`#cite-ref-digital-age-32-0]`_`f `*To the Digital Age: Research Labs, Start-up Companies, and the Rise of MOS`*. Johns Hopkins University Press. 2002. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 9780801886393. Archived from the original on February 2, 2023. Retrieved February 3, 2022.
`:cite-note-osti-33`!31.`! `F0af`_`[↑`#cite-ref-osti-33-0]`_`f `:citerefchalamala2017`aChalamala, Babu (2017). "Manufacturing of Silicon Materials for Microelectronics and Solar PV". Sandia National Laboratories. Archived from the original on March 23, 2023. Retrieved February 8, 2022.
`:cite-note-britannica-wafer-34`!32.`! `F0af`_`[↑`#cite-ref-britannica-wafer-34-0]`_`f "Fabricating ICs Making a base wafer". Britannica. Archived from the original on February 8, 2022. Retrieved February 8, 2022.
`:cite-note-anysilicon-35`!33.`! `F0af`_`[↑`#cite-ref-anysilicon-35-0]`_`f "Introduction to NMOS and PMOS Transistors". Anysilicon. 4 November 2021. Archived from the original on 6 February 2022. Retrieved February 5, 2022.
`:cite-note-britannica-micropressor-36`!34.`! `F0af`_`[↑`#cite-ref-britannica-micropressor-36-0]`_`f "microprocessor definition". Britannica. Archived from the original on April 1, 2022. Retrieved April 1, 2022.
`:cite-note-intel-4004-37`!35.`! `F0af`_`[↑`#cite-ref-intel-4004-37-0]`_`f "Chip Hall of Fame: Intel 4004 Microprocessor". Institute of Electrical and Electronics Engineers. July 2, 2018. Archived from the original on February 7, 2022. Retrieved January 31, 2022.
`:cite-note-ibm-360-38`!36.`! `F0af`_`[↑`#cite-ref-ibm-360-38-0]`_`f "360 Revolution" (PDF). Father, Son & Co. 1990. Archived (PDF) from the original on 2022-10-10. Retrieved February 5, 2022.
`:cite-note-infoworld-8-23-82-39`!37.`! `F0af`_`[↑`#cite-ref-infoworld-8-23-82-39-0]`_`f "Bill Gates, Microsoft and the IBM Personal Computer". InfoWorld. August 23, 1982. Archived from the original on 18 February 2023. Retrieved 1 February 2022.
`:cite-note-stroustrup-ch1-10-42`!38.`! `F0af`_`[↑`#cite-ref-stroustrup-ch1-10-42-0]`_`f `:citerefstroustrup2013`aStroustrup, Bjarne (2013). `*The C++ Programming Language, Fourth Edition`*. Addison-Wesley. p. 10. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-321-56384-2.
`:cite-note-stroustrup-ch1-11-43`!39.`! `F0af`_`[↑`#cite-ref-stroustrup-ch1-11-43-0]`_`f `:citerefstroustrup2013`aStroustrup, Bjarne (2013). `*The C++ Programming Language, Fourth Edition`*. Addison-Wesley. p. 11. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-321-56384-2.
`:cite-note-pis-ch4-p159-44`!40.`! `F0af`_`[↑`#cite-ref-pis-ch4-p159-44-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 159. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-fla-ch1-p2-45`!41.`! `F0af`_`[↑`#cite-ref-fla-ch1-p2-45-0]`_`f `:citereflinz1990`aLinz, Peter (1990). `*An Introduction to Formal Languages and Automata`*. D. C. Heath and Company. p. 2. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-669-17342-0.
`:cite-note-dsa-ch2-p29-46`!42.`! `F0af`_`[↑`#cite-ref-dsa-ch2-p29-46-0]`_`f `:citerefweiss1994`aWeiss, Mark Allen (1994). `*Data Structures and Algorithm Analysis in C++`*. Benjamin/Cummings Publishing Company, Inc. p. 29. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-8053-5443-3.
`:cite-note-sco-ch1-p17-47`!43.`! `F0af`_`[↑`#cite-ref-sco-ch1-p17-47-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 17. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-48`!44.`! `F0af`_`[↑`#cite-ref-48]`_`f `:citerefwilkesrenwick1982`aWilkes, M. V.; Renwick, W. (1982), Randell, Brian (ed.), "The EDSAC", `*The Origins of Digital Computers: Selected Papers`*, Berlin, Heidelberg: Springer, pp. 417–421, `F33f`_`[doi`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Doi_(identifier)]`_`f:10.1007/978-3-642-61812-3_34, `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-3-642-61812-3, retrieved 2025-04-25
`:cite-note-pis-ch4-p160-49`!45.`! `F0af`_`[↑`#cite-ref-pis-ch4-p160-49-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 160. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-sco-ch7-p399-51`!46.`! `F0af`_`[↑`#cite-ref-sco-ch7-p399-51-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 399. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-sco-ch7-p400-52`!47.`! `F0af`_`[↑`#cite-ref-sco-ch7-p400-52-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 400. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-sco-ch7-p398-53`!48.`! `F0af`_`[↑`#cite-ref-sco-ch7-p398-53-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 398. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-cpl-3rd-ch2-26-54`!49.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-26-54-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 26. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-37-55`!50.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-37-55-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 37. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-pis-ch4-p160-quote1-56`!51.`! `F0af`_`[↑`#cite-ref-pis-ch4-p160-quote1-56-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 160. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7. With third-generation and higher-level programming languages, each statement in the language translates into several instructions in machine language.
`:cite-note-cpl-ch4-75-58`!52.`! `F0af`_`[↑`#cite-ref-cpl-ch4-75-58-0]`_`f `:citerefwilson1993`aWilson, Leslie B. (1993). `*Comparative Programming Languages, Second Edition`*. Addison-Wesley. p. 75. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-201-56885-1.
`:cite-note-stroustrup-ch2-40-59`!53.`! `F0af`_`[↑`#cite-ref-stroustrup-ch2-40-59-0]`_`f `:citerefstroustrup2013`aStroustrup, Bjarne (2013). `*The C++ Programming Language, Fourth Edition`*. Addison-Wesley. p. 40. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-321-56384-2.
`:cite-note-cpl-3rd-ch2-16-60`!54.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-16-60-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 16. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-24-61`!55.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-24-61-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 24. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-25-62`!56.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-25-62-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 25. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-19-63`!57.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-19-63-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 19. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-geeksforgeeks-65`!58.`! `F0af`_`[↑`#cite-ref-geeksforgeeks-65-0]`_`f "Memory Layout of C Programs". 12 September 2011. Archived from the original on 6 November 2021. Retrieved 6 November 2021.
`:cite-note-cpl-ch1-p31-66`!59.`! `F0af`_`[↑`#cite-ref-cpl-ch1-p31-66-0]`_`f `:citerefkernighanritchie1988`aKernighan, Brian W.; Ritchie, Dennis M. (1988). `*The C Programming Language Second Edition`*. Prentice Hall. p. 31. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-13-110362-8.
`:cite-note-cpl-3rd-ch6-128-67`!60.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch6-128-67-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 128. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-lpi-ch6-p121-69`!61.`! `F0af`_`[↑`#cite-ref-lpi-ch6-p121-69-0]`_`f `:citerefkerrisk2010`aKerrisk, Michael (2010). `*The Linux Programming Interface`*. No Starch Press. p. 121. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-1-59327-220-3.
`:cite-note-lpi-ch6-p122-71`!62.`! `F0af`_`[↑`#cite-ref-lpi-ch6-p122-71-0]`_`f `:citerefkerrisk2010`aKerrisk, Michael (2010). `*The Linux Programming Interface`*. No Starch Press. p. 122. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-1-59327-220-3.
`:cite-note-cpl-ch1-p185-72`!63.`! `F0af`_`[↑`#cite-ref-cpl-ch1-p185-72-0]`_`f `:citerefkernighanritchie1988`aKernighan, Brian W.; Ritchie, Dennis M. (1988). `*The C Programming Language Second Edition`*. Prentice Hall. p. 185. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-13-110362-8.
`:cite-note-cpl-ch8-p187-74`!64.`! `F0af`_`[↑`#cite-ref-cpl-ch8-p187-74-0]`_`f `:citerefkernighanritchie1988`aKernighan, Brian W.; Ritchie, Dennis M. (1988). `*The C Programming Language Second Edition`*. Prentice Hall. p. 187. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-13-110362-8.
`:cite-note-cpl-3rd-ch2-38-76`!65.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-38-76-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 38. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch8-193-77`!66.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch8-193-77-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 193. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-39-78`!67.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-39-78-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 39. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch2-35-79`!68.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-35-79-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 35. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch8-192-80`!69.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch8-192-80-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 192. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-stroustrup-notes-22-81`!70.`! `F0af`_`[↑`#cite-ref-stroustrup-notes-22-81-0]`_`f `:citerefstroustrup2013`aStroustrup, Bjarne (2013). `*The C++ Programming Language, Fourth Edition`*. Addison-Wesley. p. 22. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-321-56384-2.
`:cite-note-stroustrup-notes-21-82`!71.`! `F0af`_`[↑`#cite-ref-stroustrup-notes-21-82-0]`_`f `:citerefstroustrup2013`aStroustrup, Bjarne (2013). `*The C++ Programming Language, Fourth Edition`*. Addison-Wesley. p. 21. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-321-56384-2.
`:cite-note-stroustrup-ch2-49-83`!72.`! `F0af`_`[↑`#cite-ref-stroustrup-ch2-49-83-0]`_`f `:citerefstroustrup2013`aStroustrup, Bjarne (2013). `*The C++ Programming Language, Fourth Edition`*. Addison-Wesley. p. 49. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-321-56384-2.
`:cite-note-cpl-3rd-ch9-218-84`!73.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-218-84-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 218. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-217-85`!74.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-217-85-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 217. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-dsa-ch3-p103-86`!75.`! `F0af`_`[↑`#cite-ref-dsa-ch3-p103-86-0]`_`f `:citerefweiss1994`aWeiss, Mark Allen (1994). `*Data Structures and Algorithm Analysis in C++`*. Benjamin/Cummings Publishing Company, Inc. p. 103. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-8053-5443-3. When there is a function call, all the important information needs to be saved, such as register values (corresponding to variable names) and the return address (which can be obtained from the program counter)[.] ... When the function wants to return, it ... restores all the registers. It then makes the return jump. Clearly, all of this work can be done using a stack, and that is exactly what happens in virtually every programming language that implements recursion.
`:cite-note-cpl-3rd-ch9-230-87`!76.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-230-87-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 230. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-240-88`!77.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-240-88-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 240. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-241-89`!78.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-241-89-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 241. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-artoflisp-90`!79.`! `F0af`_`[↑`#cite-ref-artoflisp-90-0]`_`f `:citerefjonesmaynardstewart2012`aJones, Robin; Maynard, Clive; Stewart, Ian (December 6, 2012). `*The Art of Lisp Programming`*. Springer Science & Business Media. p. 2. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 9781447117193.
`:cite-note-cpl-3rd-ch9-220-91`!80.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-220-91-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 220. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-221-92`!81.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-221-92-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 221. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-229-93`!82.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-229-93-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 229. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-227-94`!83.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-227-94-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 227. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-222-95`!84.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-222-95-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 222. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-gordon1996-96`!85.`! `F0af`_`[↑`#cite-ref-gordon1996-96-0]`_`f `:citerefgordon1996`a`F33f`_`[Gordon, Michael J. C.`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Michael_J._C._Gordon]`_`f (1996). "From LCF to HOL: a short history". Archived from the original on 2016-09-05. Retrieved 2021-10-30.
`:cite-note-cpl-3rd-ch9-233-97`!86.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-233-97-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 233. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch9-235-98`!87.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch9-235-98-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 235. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch3-55-99`!88.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch3-55-99-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 55. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-100`!89.`! `F0af`_`[↑`#cite-ref-100]`_`f `:citerefcolmerauerroussel1992`aColmerauer, A.; Roussel, P. (1992). "The birth of Prolog" (PDF). `*ACM SIGPLAN Notices`*. `!28`! (3). Association for Computing Machinery: 5. `F33f`_`[doi`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Doi_(identifier)]`_`f:10.1145/155360.155362.
`:cite-note-logical-english-101`!90.`! `F0af`_`[↑`#cite-ref-logical-english-101-0]`_`f Kowalski, R., Dávila, J., Sartor, G. and Calejo, M., 2023. Logical English for law and education. In Prolog: The Next 50 Years (pp. 287–299). Cham: Springer Nature Switzerland.
`:cite-note-cpl-3rd-ch2-35-quote1-102`!91.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-35-quote1-102-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 35. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9. Simula was based on Algol 60 with one very important addition — the class concept. ... The basic idea was that the data (or data structure) and the operations performed on it belong together[.]
`:cite-note-cpl-3rd-ch2-39-quote1-103`!92.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch2-39-quote1-103-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 39. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9. Originally, a large number of experimental languages were designed, many of which combined object-oriented and functional programming.
`:cite-note-se-ch9-284-quote1-104`!93.`! `F0af`_`[↑`#cite-ref-se-ch9-284-quote1-104-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 284. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3. While it is true that OOD [(object oriented design)] as such is not supported by the majority of popular languages, a large subset of OOD can be used.
`:cite-note-dsa-ch3-p57-105`!94.`! `F0af`_`[↑`#cite-ref-dsa-ch3-p57-105-0]`_`f `:citerefweiss1994`aWeiss, Mark Allen (1994). `*Data Structures and Algorithm Analysis in C++`*. Benjamin/Cummings Publishing Company, Inc. p. 57. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-8053-5443-3.
`:cite-note-se-ch9-285-106`!95.`! `F0af`_`[↑`#cite-ref-se-ch9-285-106-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 285. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-cpl-3rd-ch12-290-quote-107`!96.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch12-290-quote-107-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 290. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9. The syntax (or grammar) of a programming language describes the correct form in which programs may be written[.]
`:cite-note-cpl-3rd-ch4-78-quote1-108`!97.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch4-78-quote1-108-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 78. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9. The main components of an imperative language are declarations, expressions, and statements.
`:cite-note-cpl-3rd-ch12-290-109`!98.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch12-290-109-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 290. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-cpl-3rd-ch12-294-110`!99.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch12-294-110-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 294. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-discrete-ch10-p615-111`!100.`! `F0af`_`[↑`#cite-ref-discrete-ch10-p615-111-0]`_`f `:citerefrosen1991`aRosen, Kenneth H. (1991). `*Discrete Mathematics and Its Applications`*. McGraw-Hill, Inc. p. 615. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-07-053744-6.
`:cite-note-cpl-3rd-ch12-291-112`!101.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch12-291-112-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 291. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-discrete-ch10-p616-113`!102.`! `F0af`_`[↑`#cite-ref-discrete-ch10-p616-113-0]`_`f `:citerefrosen1991`aRosen, Kenneth H. (1991). `*Discrete Mathematics and Its Applications`*. McGraw-Hill, Inc. p. 616. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-07-053744-6.
`:cite-note-discrete-ch10-p623-114`!103.`! `F0af`_`[↑`#cite-ref-discrete-ch10-p623-114-0]`_`f `:citerefrosen1991`aRosen, Kenneth H. (1991). `*Discrete Mathematics and Its Applications`*. McGraw-Hill, Inc. p. 623. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-07-053744-6.
`:cite-note-discrete-ch10-p624-115`!104.`! `F0af`_`[↑`#cite-ref-discrete-ch10-p624-115-0]`_`f `:citerefrosen1991`aRosen, Kenneth H. (1991). `*Discrete Mathematics and Its Applications`*. McGraw-Hill, Inc. p. 624. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-07-053744-6.
`:cite-note-cpl-3rd-ch12-297-116`!105.`! `F0af`_`[↑`#cite-ref-cpl-3rd-ch12-297-116-0]`_`f `:citerefwilson2001`aWilson, Leslie B. (2001). `*Comparative Programming Languages, Third Edition`*. Addison-Wesley. p. 297. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-71012-9.
`:cite-note-se-preface1-117`!106.`! `F0af`_`[↑`#cite-ref-se-preface1-117-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. Preface. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-pis-ch12-p507-118`!107.`! `F0af`_`[↑`#cite-ref-pis-ch12-p507-118-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 507. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-pis-ch12-p513-119`!108.`! `F0af`_`[↑`#cite-ref-pis-ch12-p513-119-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 513. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-pis-ch12-p514-120`!109.`! `F0af`_`[↑`#cite-ref-pis-ch12-p514-120-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 514. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-pis-ch12-p516-121`!110.`! `F0af`_`[↑`#cite-ref-pis-ch12-p516-121-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 516. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-se-ch1-8-122`!111.`! `F0af`_`[↑`#cite-ref-se-ch1-8-122-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 8. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-pis-ch12-p517-123`!112.`! `F0af`_`[↑`#cite-ref-pis-ch12-p517-123-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 517. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-se-ch11-345-124`!113.`! `F0af`_`[↑`#cite-ref-se-ch11-345-124-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 345. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch10-319-125`!114.`! `F0af`_`[↑`#cite-ref-se-ch10-319-125-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 319. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch10-331-126`!115.`! `F0af`_`[↑`#cite-ref-se-ch10-331-126-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 331. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch8-216-127`!116.`! `F0af`_`[↑`#cite-ref-se-ch8-216-127-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 216. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch8-219-128`!117.`! `F0af`_`[↑`#cite-ref-se-ch8-219-128-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 219. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch8-226-129`!118.`! `F0af`_`[↑`#cite-ref-se-ch8-226-129-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 226. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch8-220-130`!119.`! `F0af`_`[↑`#cite-ref-se-ch8-220-130-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 220. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch9-258-131`!120.`! `F0af`_`[↑`#cite-ref-se-ch9-258-131-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 258. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-se-ch9-259-132`!121.`! `F0af`_`[↑`#cite-ref-se-ch9-259-132-0]`_`f `:citerefschach1990`aSchach, Stephen R. (1990). `*Software Engineering`*. Aksen Associates Incorporated Publishers. p. 259. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-256-08515-3.
`:cite-note-osc-overview-133`!122.`! `F0af`_`[↑`#cite-ref-osc-overview-133-0]`_`f `:citerefsilberschatz1994`aSilberschatz, Abraham (1994). `*Operating System Concepts, Fourth Edition`*. Addison-Wesley. p. 1. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-201-50480-4.
`:cite-note-pis-ch4-p147-quote1-134`!123.`! `F0af`_`[↑`#cite-ref-pis-ch4-p147-quote1-134-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 147. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7. The key to unlocking the potential of any computer system is application software.
`:cite-note-pis-ch4-p148-135`!124.`! `F0af`_`[↑`#cite-ref-pis-ch4-p148-135-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 147. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-pis-ch4-p147-quote2-136`!125.`! `F0af`_`[↑`#cite-ref-pis-ch4-p147-quote2-136-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 147. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7. [A] third-party software firm, often called a value-added software vendor, may develop or modify a software program to meet the needs of a particular industry or company.
`:cite-note-pis-ch4-p148-quote1-137`!126.`! `F0af`_`[↑`#cite-ref-pis-ch4-p148-quote1-137-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 148. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7. Heading: Proprietary Software; Subheading: Advantages; Quote: You can get exactly what you need in terms of features, reports, and so on.
`:cite-note-pis-ch4-p148-quote2-138`!127.`! `F0af`_`[↑`#cite-ref-pis-ch4-p148-quote2-138-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 148. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7. Heading: Proprietary Software; Subheading: Advantages; Quote: Being involved in the development offers a further level of control over the results.
`:cite-note-pis-ch4-p148-quote3-139`!128.`! `F0af`_`[↑`#cite-ref-pis-ch4-p148-quote3-139-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 147. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7. Heading: Proprietary Software; Subheading: Advantages; Quote: There is more flexibility in making modifications that may be required to counteract a new initiative by one of your competitors or to meet new supplier and/or customer requirements.
`:cite-note-pis-ch4-p149-140`!129.`! `F0af`_`[↑`#cite-ref-pis-ch4-p149-140-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 149. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-sco-ch1-p11-141`!130.`! `F0af`_`[↑`#cite-ref-sco-ch1-p11-141-0]`_`f `:citereftanenbaum1990`aTanenbaum, Andrew S. (1990). `*Structured Computer Organization, Third Edition`*. Prentice Hall. p. 11. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-854662-5.
`:cite-note-lpi-ch2-p21-142`!131.`! `F0af`_`[↑`#cite-ref-lpi-ch2-p21-142-0]`_`f `:citerefkerrisk2010`aKerrisk, Michael (2010). `*The Linux Programming Interface`*. No Starch Press. p. 21. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-1-59327-220-3.
`:cite-note-lpi-ch2-p22-143`!132.`! `F0af`_`[↑`#cite-ref-lpi-ch2-p22-143-0]`_`f `:citerefkerrisk2010`aKerrisk, Michael (2010). `*The Linux Programming Interface`*. No Starch Press. p. 22. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-1-59327-220-3.
`:cite-note-duos-ch6-p152-144`!133.`! `F0af`_`[↑`#cite-ref-duos-ch6-p152-144-0]`_`f `:citerefbach1986`aBach, Maurice J. (1986). `*The Design of the UNIX Operating System`*. Prentice-Hall, Inc. p. 152. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-13-201799-7.
`:cite-note-sco6th-ch6-p443-145`!134.`! `F0af`_`[↑`#cite-ref-sco6th-ch6-p443-145-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 443. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-esa-ch1-p8-146`!135.`! `F0af`_`[↑`#cite-ref-esa-ch1-p8-146-0]`_`f `:citereflacamera2018`aLacamera, Daniele (2018). `*Embedded Systems Architecture`*. Packt. p. 8. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-1-78883-250-2.
`:cite-note-lpi-ch2-p23-147`!136.`! `F0af`_`[↑`#cite-ref-lpi-ch2-p23-147-0]`_`f `:citerefkerrisk2010`aKerrisk, Michael (2010). `*The Linux Programming Interface`*. No Starch Press. p. 23. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-1-59327-220-3.
`:cite-note-upe-ch7-p201-148`!137.`! `F0af`_`[↑`#cite-ref-upe-ch7-p201-148-0]`_`f `:citerefkernighan1984`aKernighan, Brian W. (1984). `*The Unix Programming Environment`*. Prentice Hall. p. 201. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-13-937699-2.
`:cite-note-lpi-ch10-p187-149`!138.`! `F0af`_`[↑`#cite-ref-lpi-ch10-p187-149-0]`_`f `:citerefkerrisk2010`aKerrisk, Michael (2010). `*The Linux Programming Interface`*. No Starch Press. p. 187. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-1-59327-220-3.
`:cite-note-usp-ch6-p121-150`!139.`! `F0af`_`[↑`#cite-ref-usp-ch6-p121-150-0]`_`f `:citerefhaviland1987`aHaviland, Keith (1987). `*Unix System Programming`*. Addison-Wesley Publishing Company. p. 121. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-201-12919-1.
`:cite-note-pis-ch4-p145-152`!140.`! `F0af`_`[↑`#cite-ref-pis-ch4-p145-152-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 145. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-pis-ch4-p146-153`!141.`! `F0af`_`[↑`#cite-ref-pis-ch4-p146-153-0]`_`f `:citerefstair2003`aStair, Ralph M. (2003). `*Principles of Information Systems, Sixth Edition`*. Thomson. p. 146. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-619-06489-7.
`:cite-note-sco6th-ch1-p6-154`!142.`! `F0af`_`[↑`#cite-ref-sco6th-ch1-p6-154-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 6. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch4-p243-155`!143.`! `F0af`_`[↑`#cite-ref-sco6th-ch4-p243-155-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 243. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch3-p147-156`!144.`! `F0af`_`[↑`#cite-ref-sco6th-ch3-p147-156-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 147. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch3-p148-157`!145.`! `F0af`_`[↑`#cite-ref-sco6th-ch3-p148-157-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 148. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch4-p253-158`!146.`! `F0af`_`[↑`#cite-ref-sco6th-ch4-p253-158-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 253. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch4-p255-159`!147.`! `F0af`_`[↑`#cite-ref-sco6th-ch4-p255-159-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 255. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch3-p161-160`!148.`! `F0af`_`[↑`#cite-ref-sco6th-ch3-p161-160-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 161. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch3-p166-161`!149.`! `F0af`_`[↑`#cite-ref-sco6th-ch3-p166-161-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 166. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.
`:cite-note-sco6th-ch4-p249-162`!150.`! `F0af`_`[↑`#cite-ref-sco6th-ch4-p249-162-0]`_`f `:citereftanenbaum2013`aTanenbaum, Andrew S. (2013). `*Structured Computer Organization, Sixth Edition`*. Pearson. p. 249. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0-13-291652-3.

`c`F0af`_`[↑ Back to top`#top]`_`f`a